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
LVL 1
John DarbyPMAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saurabh Singh TeotiaCommented:
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...
John DarbyPMAuthor Commented:
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?
Saurabh Singh TeotiaCommented:
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...
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

John DarbyPMAuthor Commented:
Thank you; I have 8 tables on 8 separate worksheets which need to be checked for duplicates
Saurabh Singh TeotiaCommented:
You can do something like this...

=COUNTIF(Table1,b2)+COUNTIF(Table2,b2)+COUNTIF(Table3,b2)+COUNTIF(Table4,b2)+COUNTIF(Table5,b2)+COUNTIF(Table6,b2)+COUNTIF(Table7,b2)+COUNTIF(Table8,b2)

Open in new window


Now anytime when the value is more then 1 you know its a duplicate..and i have assumed your table name starts with table1 and goes till table8..

Saurabh...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
John DarbyPMAuthor Commented:
That works! Thank you!
Saurabh Singh TeotiaCommented:
You are welcome..Always happy to help.. :-)

Saurabh...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.