How to count “No” in column C base on Name & Id?

前端 未结 3 776
Happy的楠姐
Happy的楠姐 2021-01-25 05:07

I have 3 columns.

-----A-----B-----C-----
---Name----ID---Report

In column A I have Names(Can Repeat)
In column B I have IDs (can repeat wi

3条回答
  •  执念已碎
    2021-01-25 05:43

    You can use a single formula like this:

    =SUM(IF(FREQUENCY(IF(A2:A200="John",IF(C2:C200="No",B2:B200)),B2:B200),1))

    That's an "array formula that needs to be confirmed with CTRL+SHIFT+ENTER

    That gives 3 for your example - note that it requires column B data to be numeric which seems to be the case here.....

提交回复
热议问题