Compare and highlight cell next to duplicates of two sheets

Justalittlelost

New Member
Joined
Oct 29, 2019
Messages
2
Hello,

I am seeking a macro to compare columns (column 9, starting at row 6) between two sheets, Sheet1 and Sheet2 and then dumping the entire row with the duplicates in sheet 3.

For example:

Sheet1 has on row 6 and column f,g,h:
1 // a // X
Sheet2 has the same items on row 15

So sheet 3 will display the entire row 6 (ie columns a - s ) of sheet one.

Could anybody help me with this?

I could also provide a dummy excel file if needed.

Thanks
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Is the order of the values is important ?
e.g. 1 // a // X duplicate of a // 1 // X
 
Upvote 0
Hi PCL,

No, the order is not important.
In fact, i actually phrased it incorrectly

The macro needs to compare column g in sheet 2 with sheet 1, the cell consists of a bunch of numbers.

If the numbers in column g on sheet 2 do not appear on sheet 1 column g, then the whole row on sheet 2 needs to be copied to sheet 3.

I hope this makes sense and thank you in advance!
 
Upvote 0

Forum statistics

Threads
1,224,746
Messages
6,180,703
Members
452,994
Latest member
Janick

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