Good Evening. I am trying to count how many offices each company has in each country. For instance, 24 Hour Fitness has office as follows:
China 2
Hong Kong 6
etc.
I can subtotal it, but I want it in its own column. I have tried to do this in sections, but it takes to long as the entire sheet has over 168K rows. Can someone please give me a hand?
Does this work for you? Place in C2
and drag down
=COUNTIFS(A:A,A2,B:B,B2)