If have 2 tables.

I need the count of AAA for a particular name in Table 2.

Example: I need to count the number of times AAA occurs for Peter.

enter image description here

  • Welcome. What you ask doesn't make sense because Table 2 is empty. Please edit your question and give more/correct info. – marikamitsos Feb 28 '20 at 11:56

In your example formula in C5 would be like this

=COUNTIFS(QUERY($B$1:$E$2,"select * where A = '"&B5&"'",0),"AAA")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.