ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count if one cell has a name in it and another column does not (https://www.excelbanter.com/excel-worksheet-functions/156303-count-if-one-cell-has-name-another-column-does-not.html)

Vera Lemon

Count if one cell has a name in it and another column does not
 
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

Peo Sjoblom

Count if one cell has a name in it and another column does not
 
=COUNTIF(B2:B500,"<Dup")


adapt to fit


or if there can be blanks in A

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



--
Regards,

Peo Sjoblom




"Vera Lemon" wrote in message
...
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




Vera Lemon

Count if one cell has a name in it and another column does not
 
Thank you very much Peo! It worked beautifully!

"Peo Sjoblom" wrote:

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


adapt to fit


or if there can be blanks in A

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



--
Regards,

Peo Sjoblom




"Vera Lemon" wrote in message
...
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






All times are GMT +1. The time now is 06:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com