发布网友 发布时间:2022-03-25 18:42
共1个回答
热心网友 时间:2022-03-25 21:01
请说清楚要求追问如自动求出甲的和。追答设你的表有100行,对应数据有3列,
则如果求甲的和,请在E1输入公式:
=SUMIF(A1:A100,"甲",B1:B100)+SUMIF(A1:A100,"甲",C1:C100)+SUMIF(A1:A100,"甲",D1:D100)
则如果求乙的和,请在E2输入公式:
=SUMIF(A1:A100,"乙",B1:B100)+SUMIF(A1:A100,"乙",C1:C100)+SUMIF(A1:A100,"乙",D1:D100)
则如果求丙的和,请在E3输入公式:
=SUMIF(A1:A100,"丙",B1:B100)+SUMIF(A1:A100,"丙",C1:C100)+SUMIF(A1:A100,"丙",D1:D100)
则如果求丁的和,请在E4输入公式:
=SUMIF(A1:A100,"丁",B1:B100)+SUMIF(A1:A100,"丁",C1:C100)+SUMIF(A1:A100,"丁",D1:D100)