ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Count unique (https://www.excelbanter.com/excel-programming/438888-count-unique.html)

XP

Count unique
 
I have a spreadsheet containing a list of names. Many names are repeated. I
need to count the number of unique names in the list. Anyone got a formula
for me?

Thanks!

Sam Wilson

Count unique
 

Hi,

If your list of names was in A1:A5 then this:

=SUM(1/COUNTIF($A$1:$A$5,A1:A5)

entered using Ctrl+Shift+Enter is an array formula that works.

Sam

"xp" wrote:

I have a spreadsheet containing a list of names. Many names are repeated. I
need to count the number of unique names in the list. Anyone got a formula
for me?

Thanks!


Bernd P

Count unique
 
Hello,

I suggest to look he
http://sulprobil.com/html/count_unique.html

Regards,
Bernd


All times are GMT +1. The time now is 09:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com