Count if one cell has a name in it and another column does not

G

Guest

Hello All - I'm using Office 2003, I have groups of names in column A and if
the name is repeated in a different group I have "Dup." in column B. I need
to count how many names are in column A that do not have "Dup." in column B.

Your help is appreciated! :)
Vera in Michigan
 
P

Peo Sjoblom

=COUNTIF(B2:B500,"<>Dup")


adapt to fit


or if there can be blanks in A

=SUMPRODUCT(--(A2:A500<>""),--(B2:B500<>"Dup"))
 
G

Guest

Thank you very much Peo! It worked beautifully!

Peo Sjoblom said:
=COUNTIF(B2:B500,"<>Dup")


adapt to fit


or if there can be blanks in A

=SUMPRODUCT(--(A2:A500<>""),--(B2:B500<>"Dup"))
 

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