Count function

O

orquidea

HI

I have a list of series like this

serie 165125
serie 165126
serie 165127
serie 165125
serie 165126
serie 165124
serie 165125

I want to count how many series I have. The formula have to consider that
some series are repeiting in many rows. ei in the list above will be 4
series.

Could anyone help me please.

Thanks,
Orquidea
 
B

Bob Phillips

=SUMPRODUCT(--(A1:A20&""<>"")/COUNTIF(A1:A20,A1:A20&""))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
P

Peo Sjoblom

Assume the values are in A1:A10

=SUMPRODUCT(--(A1:A10<>""),1/COUNTIF(A1:A10,A1:A10&""))

--


Regards,


Peo Sjoblom
 
O

orquidea

Thanks

Bob Phillips said:
=SUMPRODUCT(--(A1:A20&""<>"")/COUNTIF(A1:A20,A1:A20&""))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Top