counting data in a column

M

msmith

I have a column of part numbers that include duplicates. What I need i
to count the number of different part numbers, avoiding duplicates, an
display the total in a cell. What is the formula for this
 
D

Don Guillett

Bob Umlas posted this today on the G list
=SUM(IF(COUNTIF(B1:B19,B1:B19)=0, "", 1/COUNTIF(B1:B19,B1:B19)))

--
Don Guillett
SalesAid Software
(e-mail address removed)
msmith said:
I have a column of part numbers that include duplicates. What I need is
to count the number of different part numbers, avoiding duplicates, and
display the total in a cell. What is the formula for this?
creating financial statements
 

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