Counting number of items excluding duplicates.

J

julian.avery

I currently have a table of 120 products that includes duplicates.
I would like to count how many different products are included in this 120.
For example:

Product
A
A
A
B
C
C
F
E

There are 8 total products listed, but only 5 different products.
Is there a way to count how many different products are listed.

I tried a pivot table but I don't need the total each product is listed, just the total number of products.
 
C

Claus Busch

Hi,

Am Thu, 17 Oct 2013 06:42:22 -0700 (PDT) schrieb (e-mail address removed):
Product
A
A
A
B
C
C
F
E

your products in column A with header. Then try:
=SUMPRODUCT((A2:A200<>"")/COUNTIF(A2:A200,A2:A200&""))



Regards
Claus B.
 

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

Top