Count function

G

Guest

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
 
G

Guest

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Need help with if syntax 1
Data Base 8
Use buttons in a Chart 4
Y-axe Multiscale charting 4
primary axis fitting 1
add a chart in a Add-In 1
Run - time error '1004' 1
How to "defusion" a serie of lines Excel 2000 1

Top