Reputation: 11
In Google Sheet, I am trying to count the number of responses received on several criteria.
All responses are tied to a specific event ID in Column A in sheet 1.
There are multiple respondents per event ID in sheet 2 in Column B. Each respondent has their own row. It shows their event ID in Column A.
Their response is on sheet 2 column C.
I am trying to figure out how many responses occurred per event. I have a feeling this countif formula might need a vlookup or match/index nested inside but I'm not sure how to construct it. Any help would be very appreciated.
Upvotes: 1
Views: 807
Reputation: 1
try:
=QUERY(Sheet2!A:C; "select A,count(B),count(C) where A is not null group by A"; 1)
Upvotes: 1
Reputation: 3034
B1 Formula - COUNTIF($F$2:$F$9,A2)
C1 Formula - COUNTIFS($H$2:$H$9,"<>"&"",$F$2:$F$9,A2)
Upvotes: 0