Highlight Duplicates between Sheet1 and Sheet2, ignoring duplicates already in Sheet1

KariSaga

New Member
Joined
Apr 4, 2019
Messages
5
I have been searching for a formula how I can highlight duplicate data between two different worksheets but ignoring duplicates on one of the worksheets. I have tried a few formulas and macros but not getting the results I want. Hoping someone here is able to help.

For a better understanding, I have a database which has multiple worksheets (eg. sheet1, sheet2, etc...), in the first worksheet it has 10k+ rows, and multiple columns with different kinds of data, lets call this worksheet "Sheet1". The other worksheets are not really important. I will create a new worksheet and give it a name, then I will copy and paste some data into this worksheet which will expand across several columns and rows, lets call this worksheet "Sheet2". In Sheet1 I want to focus only on column "I" and in Sheet2 I will want to look at columns A thru Z (or entire worksheet).

I am looking for a way to highlight duplicates between Sheet1 and Sheet2, but I do not want to highlight duplicates already in Sheet1 column I, just highlighting the duplicates found in Sheet2.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
have you tried a countif()

select sheet 1 columns I

then add a formula in conditional formatting

=COUNTIF(Sheet2!$A:$G,$I1)
so if a value exists in sheet2 that matches value in sheet1 it will highlight
 
Upvote 0
This works perfectly for Sheet1, however I am also trying to get those in Sheet2 highlighted that were duplicate in Sheet1 column I
 
Upvote 0
ok, then I think in sheet 2
=COUNTIF(Sheet1!$I:$I,sheet2!A1)
 
Upvote 0

Forum statistics

Threads
1,224,748
Messages
6,180,721
Members
452,995
Latest member
isldboy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top