Comparing multiple sheet Excel files

BC5 logo BC version 5

Beyond Compare 5's Table Compare natively supports multiple sheets.  The below methods can be additionally imported as alternatives.

BC3 logo BC4 logo BC version 3 or 4

"I was comparing my Excel files in BC but it is only showing one sheet.  I want to compare all of the sheets in my Excel .XLS or .XLSX file"

By default the Table Compare session type is used for Excel .xls and .xlsx files.  This session type only supports comparing a single sheet in Beyond Compare.  There are a couple of methods available to compare the different sheets of your Excel file.

Using Excel to switch current sheet

Beyond Compare's Table Compare session will open and compare the current sheet in the Excel file.

  1. Open your .XLS or .XLSX file in Excel.
  2. Switch the visible sheet to the sheet you wish to compare.
  3. Save the Excel file.
  4. Open and compare the file in Beyond Compare.

Windows Using the Text Compare session

On Windows, Beyond Compare offers an additional download to open and compare your Excel files in a Text Compare session.  This does not offer the same sorting and alignment options as Table Compare, but it will convert all the sheets into a single comma-separated Text file, with each sheet separated by a blank line.  You can download and install the MS Excel Text Compare file format here:  Microsoft Excel Workbooks

Once installed, there will be two MS Excel formats in your Tools > File Formats dialog.  The format with the document icon (icon) is the Text Compare format.  The format with the data icon (icon) is the Table Compare format.  The topmost format in this list is the format used automatically to compare your files.  The other must have that session type explicitly selected.

Advanced Technique

Lastly, you can combine these two methods in a custom File Format.  There are two main draw backs to using this method:

  1. All sheets are combined into a single sheet and, if sorted, the rows are mixed together.
  2. Extra whitespace rows are introduced between each sheet and, if sorted, generally sort to the top.

If these are acceptable, or you plan to configure Beyond Compare so that they do not impede your comparison:

  1. Follow the above directions and install the MS Excel Text Compare file format.
  2. Open the Tools > File Formats dialog.
  3. Create a new Table Compare file format.  Name it MS Excel All Sheets.
  4. Save the format.
  5. Navigate to the MS Excel Text Compare file format (icon).  In the Conversion tab, select and copy the command line.
  6. Edit your new MS Excel All Sheets format.  In the Conversion tab, paste the command line from the Text Compare's MS Excel format into the Loading field, with Editing Disabled.
  7. Re-save the MS Excel All Sheets file format.