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.
我的数据如下所示:
AB
1 0
0 1
如何计算同一行中 A 列大于 B 列的数字,而不添加另一列,即 A 列和 B 列之间的减去值?
上述示例的输出应输出 2。
=SUMPRODUCT((1=1)*(A1:A4>B1:B4))