具有多个范围和多个标准的Countif
我想计算所有在A列中出现“ A”的实例,B和C列中均出现。这将是一种匹配风格。本质上,我试图计数一个头部的头部,每列中A中发生A的头部,每次B在其余列中发生B中
我使用的公式为= countifs(a1:a4,'= a“'',b1:c4,= b”) 。这将返回“ #Value”错误。
I want to count all the instances that "a" occurs in column a AND "b" occurs in both column b and c. This would be in a match up style. Essentially I am trying to count a head to head where a occurs in column a every time b occurs in the remaining columns
The formula I used is =COUNTIFS(A1:A4,"=a",B1:C4,"=b"). This returns a "#VALUE" error.
I am aware that I could use multiple COUNTIFS but for the real workbook "b" would be spread across 20 columns so this would result in a very long and slow formula.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一个选项:
e1
中的公式:One option:
Formula in
E1
:这是另一个选项,
Here is another option,
• Formula used in cell
D1