excel的countifs如何判断多列信息

2024-11-23 17:24:41
推荐回答(3个)
回答1:

应该不行,建议做一个辅助列在最后, 用if( AND(A1=1, B1=1, OR(C1=1,C1=2),1,0),然后加总就知道多少行符合条件了

回答2:

=COUNTIFS(A:A,"=1",B:B,"=1",C:C,"=1") + COUNTIFS(A:A,"=1",B:B,"=1",C:C,"=2")

回答3:

=COUNTIFS(A:A,"=1",B:B,"=1",C:C,"<3",,C:C,">0")