Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在excel中我有以下格式的数据(对不起格式化,管理员不允许我上传图片)
现在:
请帮我写一个计算所有列“通过”的行的公式(请不要宏,它在我们研究所被阻止)例如:#1,2 行是有效的 PASS,我需要计算所有这些有效的 PASS 行表,在上面的代码片段中是 2
如果您只需要进行计数,可以尝试SUMPRODUCT:
SUMPRODUCT
=SUMPRODUCT(--(A:A="PASS"), --(B:B="PASS"),--(C:C="PASS"))
或COUNTIFS:
COUNTIFS
=COUNTIFS(A:A,"Pass",B:B, "Pass",C:C,"Pass")