Link to home
Start Free TrialLog in
Avatar of John Darby
John DarbyFlag for United States of America

asked on

Excel exclude list of values from all areas of workbook

Greetings,
I have a table of 300+ email addresses. I want to do a FIND in the cell B2:B350 in cells C2:C50

I want to check if the value of each cell is unique in the workbook and return some kind of indicator.


Thank you!!!
JohnD
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

JohnD,

I'm assuming your questions have two parts..

1. If you want to see whether values of C2:C50 exists in cells B2:B350 then use this formula in D2 and drag it down...

=Countif(B$2:B$350,C2)

Open in new window


Now drag this down till D50 and for any values which exist it will give you 1 or how many times it exists if it doesn't exist it will give you a zero as answer...

2. Assuming you don't have any blank values from B2 to B350..You can use this formula at any cell it will tell you whether it has duplicates or all values are unique..

=IF(COUNTA(B2:B350)<>SUMPRODUCT(1/COUNTIF(B2:B350,B2:B350)),"Has Duplicates","Unique")

Open in new window


Saurabh...
Avatar of John Darby

ASKER

I posed my question poorly; my apologies

I want to make sure the values in Column B are unique throughout the workbook. Is there a formula which I can place in Column C which checks for each value in Column B across the whole workbook?
Which are the columns or range you want to check for duplicate???

Assuming if you want to check columns D TO E then you can use..

=countif(D:E,B2)

This formula need to be applied in C2..Now if the count is more that means this value exists more then once IN Column D and E.. You can play around with this formula as in range and drag this down to check how many times values exists..

Saurabh...
Thank you; I have 8 tables on 8 separate worksheets which need to be checked for duplicates
ASKER CERTIFIED SOLUTION
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That works! Thank you!
You are welcome..Always happy to help.. :-)

Saurabh...