请教大神,EXCEL表中求和如何用函数实现
请教大神,EXCEL表中求和如何用函数实现=SUMIF(A:A,G4,B:B) H4=SUMIFS(B:B,A:A,G4,C:C,"<>0",D:D,"<>0",E:E,"<>0") =SUMPRODUCT(($A$4:$A$43=G4)*($C$4:$C$43<>0)*($D$4:$D$43<>0)*($E$4:$E$43<>0)*$B$4:$B$43) 不对,不是三列都不等于0,是三列加一起不等于0 算出来的数不对 =SUMPRODUCT(($A$4:$A$43=G4)*($C$4:$C$43+$D$4:$D$43+$E$4:$E$43<>0)*$B$4:$B$43)数组,三键下拉 =SUMPRODUCT(($A$4:$A$43=G4)*($C$4:$C$43+$D$4:$D$43+$E$4:$E$43<>0)*$B$4:$B$43) =SUMPRODUCT((G4=$A$4:$A$43)*($C$4:$C$43<>0)*($D$4:$D$43<>0)*($E$4:$E$43<>0)*$B$4:$B$43) 或用365函数=SUM(FILTER($B$4:$B$43,(G4=$A$4:$A$43)*($C$4:$C$43<>0)*($D$4:$D$43<>0)*($E$4:$E$43<>0)))
=SUMPRODUCT(($A$4:$A$43=G4)*(($C$4:$C$43&$D$4:$D$43&$E$4:$E$43)*1<>0)*$B$4:$B$43)
下拉结束