compare data in 2 sheets (varying rows), highlight differences in sheet 3

Gti182

Board Regular
Joined
Dec 7, 2011
Messages
65
crosslink here:Comparing data on 2 sheets (varying rows) and highlight differences in 3rd

Hi all,

I'm hunting for some code which would do a simple compare of data in 2 sheets within the same workbook and then highlight differences in sheet 3 (based on sheet 1 data used as a base).

The macro would copy sheet 1 and paste it in sheet 3 and then highlight any differences to sheet 2 in yellow.

Data in both sheets have the same format and column headings but the rows would vary which adds an element of difficulty.
Column A contains a unique reference number which i thought could be used as the identifier between the 2 sheets.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,215,711
Messages
6,126,401
Members
449,312
Latest member
sweetfriend9

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