CodePudding user response:
Do it with a pivot table so that you will have the answer without any formula.
CodePudding user response:
Try query()
with a pivot
clause, like this:
=query(A1:C, "select A, B, count(B) where A is not null group by A, B pivot C", 1)