Comparing two Excel Sheets

pjkaphlen

Board Regular
Joined
Aug 3, 2015
Messages
85
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hi Guys! I need your help with something. I have this concept for a macro file which will compare two excel sheets. The data on Sheet 1 is the same with Sheet 2 which will should be easy for most of you, however, the data in Sheet 2 is rearranged. Normally, i use HLOOKUP and VLOOKUP to copy the data from sheet 2 into Sheet 1, realigning the data in the process. Here is the step by step process.

1. The macro will have a dialogue box which will ask which cells from sheet 2 are to be copied.
2. Another dialogue box will appear asking to where to paste the data (sheet 1 most likely). The range indicated in the dialogue box will be copied into sheet 1, except that, this time, the data should now be rearranged like in sheet 1 data.
3. Lastly, the original data in Sheet 1 will be compared to the copied data (like A1 = A17). If the copied data from sheet 2 is not the same with sheet 1 data then the copied data shall be highlighted (RED color maybe).

Appreciate the help guys!

Thank you in advance!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,215,443
Messages
6,124,890
Members
449,194
Latest member
JayEggleton

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