Thread: Count unique
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Sam Wilson Sam Wilson is offline
external usenet poster
 
Posts: 523
Default 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!