Compare two spreadsheets data and highlight differences

ronanbaker1

Board Regular
Joined
Nov 15, 2012
Messages
76
Hi Guys,

I need a macro that will search sheet1 vs sheet2 for all data in each column and row (multiple columns and rows). The rows do not match up 1 for 1. For example on sheet1 it could be row 10 but sheet2 it could be row 100. So I need the macro to do a unique function to find the number in sheet2 and then compare each column, highlight differences in yellow. Columns will match up.

Step 2 is if the unique number is not in sheet2 highlight it in red.

Step 3 is to do the same as Step 2 but vica versa. Meaning if the unique number is in sheet2 but not in sheet1 then highlight in red.

Lastly Step 4 filter all columns that have a red or yellow cell.

Thanks
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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