用sumif函数,下面是示例:型号E 型号C 型号C 型号E入库
1 1 未入库
2
3 入库 1 入库 1 未入库 2 入库合计 =SUMIF(A2:A6,"=入库",B2:B6) =SUMIF(A2:A6,"=入库",C2:C6) =SUMIF(A2:A6,"=入库",D2:D6)未入库合计 =SUMIF(A3:A7,"=未入库",B3:B7) =SUMIF(A2:A6,"=未入库",C2:C6) =SUMIF(A2:A6,"=未入库",D2:D6)
用sumif函数,下面是示例:型号E 型号C 型号C 型号E入库
1 1 未入库
2
3 入库 1 入库 1 未入库 2 入库合计 =SUMIF(A2:A6,"=入库",B2:B6) =SUMIF(A2:A6,"=入库",C2:C6) =SUMIF(A2:A6,"=入库",D2:D6)未入库合计 =SUMIF(A3:A7,"=未入库",B3:B7) =SUMIF(A2:A6,"=未入库",C2:C6) =SUMIF(A2:A6,"=未入库",D2:D6)