如何取数问题
各位大侠,折腾了半天还是没搞懂,还是请教各位帮忙。如何在标黄区域设置公式,能够取到数。有的月份没有数据。谢谢大家,顺祝周末快乐!=SUMIFS($C:$C,$A:$A,$F2,$B:$B,G$1) =SUMIFS($C$2:$C$33,$A$2:$A$33,$F2,$B$2:$B$33,G$1)
0值显示空的话
=IFERROR(1/SUMIFS($C$2:$C$33,$A$2:$A$33,$F2,$B$2:$B$33,G$1)^-1,"") =sumifs(c:c,a:a,$f2,b:b,g$1) G2
右拉下拉
=SUMIFS($C:$C,$A:$A,$F2,$B:$B,G$1) 这不就是求和嘛?
=SUMIFS($C:$C,$A:$A,$F2,$B:$B,G$1)
=IFERROR(LOOKUP(1,0/((G$1=$B$2:$B$33)*($F2=$A$2:$A$33)),$C$2:$C$33),"") 横拉下拉 =IF(COUNTIFS($A:$A,$F2,$B:$B,G$1),SUMIFS($C:$C,$A:$A,$F2,$B:$B,G$1),"") =SUMPRODUCT(($B$2:$B$33=G$1)*($A$2:$A$33=$F2)*$C$2:$C$33) 这样?
=IFERROR(VLOOKUP($F2&G$1,CHOOSE({1,2},$A$2:$A$33&$B$2:$B$33,$C$2:$C$33),2,0),"")
三键结束