Excel - How To Compare Worksheets

How To Compare Worksheets

In this tutorial, I will be showing you how to compare two worksheets in excel. This helps you to know the different changes made in case you want to revert some few changes from the original one.

  • COMPARING WORKSHEET
  • Step 1 - Open the first worksheet that contains the original version of the document.
  • comparing-worksheets
  • Step 2 - Also make sure the second worksheet is visible also.
  • comparing-worksheets
  • Step 3 - Select the data in the first worksheet.
  • comparing-worksheets
  • Step 4 - In the Home tab, go to the Styles group and click on the Conditional Formatting option. From the dropdown list of options, click on New Rule
  • comparing-worksheets
  • Step 5 - The New Formatting Rule dialog box will be displayed. In this dialog box, under the heading - Select a Rule Type, click on the option - Use a formula to determine which cells to format.
  • comparing-worksheets
  • Step 6 - In the Edit Rule Description section, you will have to enter the formula inside the input field. (Format Values where this formula is true)
  • comparing-worksheets
  • Step 7 - Now enter the formula =A1<>Sheet2!A1. This formula is used to compare the current worksheet that you are from the beginning of the cell A1 in that sheet and the second worksheet that is opened in the background which is Sheet2 starting from cell A1 also.
  • comparing-worksheets
  • Step 8 - Now let's choose the type of formatting we want to give to the changes after being compared.
    Click on the Format button and this will open the Format Cells dialog box.
  • comparing-worksheets
  • Step 9 - Click on the Fill tab, select the color you want, look at the color sample and if you like it, then click on the OK button to take you back to the previous dialog box.
  • comparing-worksheets
  • Step 10 - Also click on the OK button here to finally apply the formatting rules.
  • comparing-worksheets
  • Step 11 - The formatting rule has been applied successfully.
  • comparing-worksheets
  • Step 12 - So in the first worksheet, the cells highlighted are the cells that were changed or updated. But lets now see how we can make it a little bit easy and clear to visualize in the next few steps.
  • comparing-worksheets
  • Step 13 - In that same first worksheet, click on the View tab and go to the Windows group and click the New Window option or command.
  • comparing-worksheets
  • Step 14 - Another windows will be opened. Thereby we now have two windows.
  • comparing-worksheets
  • Step 15 - Go to the first windows, in the first worksheet (Sheet1) click on the View tab. In the view tab ribbon go to the Windows group and click on the Arrange All option.
  • comparing-worksheets
  • Step 16 - A small dialog box will be displayed (the Arrange Windows dialog box). Inside the dialog box, under Arrange select the option Vertical and the click on the OK button.
  • comparing-worksheets
  • Step 17 - The two windows will now be arranged side by side. At your left hand side ,the worksheet (Sheet1) is opened with the highlighted cells which tells you where changes were made. While at your right-hand side the worksheet (sheet2) is opened with the updated changes.
  • comparing-worksheets
    tips
    TIP:

    To make this comparison more visually interesting, you can also perform similar formatting rule to the second sheet and hight the updated cells changes were made.
    For the second worksheet you will have to use the formula: =A1<>Sheet1!A1. The only thing that was changed is the sheet name.

  • Step 18 - Now if you use similar formatting on the second sheet will a different color. You can now see where the updated changes were made in the second cell.
  • comparing-worksheets
  • Step 19 - Again, this worksheet 1 (Sheet1). The highlighted cells signifies where changes where made.
  • comparing-worksheets
  • Step 20 - Also, this is worksheet 2 (Sheet2). The highlighted cells signify the updated cells.
  • comparing-worksheets
ADVERTISEMENTS

LEARNING IS A CONTINOUS PROCESS - PRACTICE MAKES PERFECT