Count unique values

  • Thread starter Thread starter Bmcosta
  • Start date Start date
B

Bmcosta

Hi,

I need to count the unique values of a column.

For example:
Column A
c022
c021
c023
c022
c021
c024

The count that I pretend is = 4

Any assistance will be appreciated.

Thanks.
Bruno Costa
 
=SUM(IF(A1:A20<>"",1/COUNTIF(A1:A20,A1:A20)))

entered with ctrl + shift & enter

--
No private emails please, for everyone's
benefit keep the discussion in the newsgroup.


Regards,

Peo Sjoblom
 
Thanks Andy B, JulieD and Peo Sjoblom for the tips.

I just have one more doubt ... what is "entered with ctrl
+ shift & enter" ?
 
Back
Top