0
=query(A:B,"Select A, Count(B) where A is not null and B='A' group by A,1")

0

={"Data", "Count Amount"; 
 ARRAYFORMULA(QUERY({UNIQUE(A3:A), 
 IFERROR(VLOOKUP(UNIQUE(A3:A), 
 QUERY(A:B, "select A,count(B) 
             where A is not null 
               and B='A' 
             group by A 
             label count(B)''", 0), 2, 0), 0)},
 "where Col1 is not null"))}

0

2

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.