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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,216,126
Messages
6,129,021
Members
449,480
Latest member
yesitisasport

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