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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,223,705
Messages
6,173,989
Members
452,541
Latest member
haasro02

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