如图,A列是出库时间,产品组分1-5组,每组后面对应一列出库数。现在我想根据时间来统计所有产品所有组的合计出库数。比如,单元格N2是8月1日的手工剃须刀架01-1的合计数。求大神赐教,谢谢
N2=SUMIFS($C$2:$C$20,$A$2:$A$20,N$1,$B$2:$B$20,$M2)+SUMIFS($E$2:$E$20,$A$2:$A$20,N$1,$D$2:$D$20,$M2)+SUMIFS($G$2:$G$20,$A$2:$A$20,N$1,$F$2:$F$20,$M2)+SUMIFS($I$2:$I$20,$A$2:$A$20,N$1,$H$2:$H$20,$M2)+SUMIFS($K$2:$K$20,$A$2:$A$20,N$1,$J$2:$J$20,$M2)
复制公式右拉和下拉即可