Forum Discussion
ShelleyVan7990
Jul 14, 2022Copper Contributor
Count the number of clients in a column
I'm sure there is an easy calculation to this question but for the life of me I can't figure it out. I am trying to figure out how many clients are coming to an event. All I need is a code to ...
Riny_van_Eekelen
Jul 14, 2022Platinum Contributor
ShelleyVan7990 Since you tag you post with Office365, you should have UNIQUE functions, like this:
= COUNT(UNIQUE(clients))
where "clients" refers to the column/range where the client names are listed.
That would be 4 in your example, not 5
- ShelleyVanEttenJul 14, 2022Copper ContributorIt is coming up 0 not 4
- Riny_van_EekelenJul 14, 2022Platinum Contributor
ShelleyVanEtten Oooops. Yes, I forgot the "A" after COUNT, Sorry,
- HansVogelaarJul 14, 2022MVP
Use COUNTA instead of COUNT (the latter counts numbers only):
=COUNTA(UNIQUE(clients))