Choose the comparison workflow for your task

Compare Two Excel Sheets for Differences

Compare Two Excel Sheets for Differences within the same workbook or between workbooks. This guide focuses on individual worksheets (tabs). Choose a native Excel method for a small range, or prepare two matching-sheet XLSX copies for WorkbookDiff. This is a tab-level task, not a guide to comparing entire workbook versions.

How to compare two Excel sheets in Excel

1. View sheets side by side: visual review only

In desktop Excel for Windows, open both workbooks and use View > View Side by Side. For tabs in the same workbook, use View > New Window, then arrange the windows and select a different tab in each. Synchronous Scrolling helps inspect aligned rows; it does not automatically identify differences. On Mac, use separate windows and Arrange All rather than assuming the Windows Side by Side controls are available. Menu names vary by Excel version.

2. Conditional formatting: highlight aligned value differences

For tabs named Old and New in the same workbook, define a workbook-scoped name OldData referring to =Old!$A$1:$D$100. Select New!A1:D100 with A1 as the active cell, then create a conditional-formatting rule using:

=A1<>INDEX(OldData,ROW(A1),COLUMN(A1))

Choose a fill color. The named range avoids a direct cross-sheet reference in the rule. This exact example assumes both ranges start at A1; adjust offsets for other starting cells. It compares values, not formula text, and needs matching row order. Check error cells separately.

3. IF formula: label differences in a helper tab

=IF(Old!A1=New!A1,"Same","Different")

Enter this in A1 of a third sheet and fill across/down over the occupied range. It compares cell values, so two different formulas with the same result can say Same; text comparisons are case-insensitive, and blanks, zeros and errors can need extra handling. For different workbooks, build external references by selecting cells in the open files. These methods do not align reordered records.

Use WorkbookDiff for a saved sheet-to-sheet review

There is no arbitrary left-tab/right-tab picker. The main tool takes two files and matches worksheet names. Prepare working copies when the source is two tabs:

  1. Copy the first tab into a new workbook and save it as before.xlsx. Copy the second tab into a separate workbook and save it as after.xlsx. Keep the originals unchanged.
  2. Give the copied tab the same name in both files, such as Budget, and align row/column positions. If the original tabs belong to two files, create isolated copies of just those tabs.
  3. Check copied formulas carefully: moving a tab may change references or create external links. Preserve dependencies if required; for dependency-heavy formulas, compare the original aligned workbook versions instead.
  4. Open WorkbookDiff, select both prepared XLSX files, and run Compare workbooks. Filter by worksheet and review the changed cells.
  5. Export the full free CSV. Filters affect the displayed list, not the CSV export.

Need all tabs, not just a selected pair? Read compare two Excel files for differences. For expressions, see compare Excel formulas; for moved records, consider the separate value-only reconcile-by-ID beta.

Worked example: two tabs, one changed value

Illustrative Old and New tabs before preparing same-name Budget copies
CellBeforeAfter
Budget!B2100 on Old125 on New
Budget!B3200 on Old200 on New

The IF helper flags B2 as Different. Prepared Budget copies produce cell-value-changed at B2 in WorkbookDiff.

WorkbookDiff scope and limits

WorkbookDiff compares two unencrypted .xlsx workbooks, up to 20 MB each, by matching worksheet names and cell coordinates. It compares supported stored values, formula expressions, sheet presence/visibility, hidden rows/columns and used range. It does not recalculate formulas, compare formatting, charts, pivots or VBA, or align inserted/reordered rows.

Workbook content is processed locally in your browser; this is not a promise of zero network traffic. Comparing and exporting the full CSV are free, with no signup. The optional $19 one-time audit handoff report provides review notes and HTML / print export, not an independent audit.

Frequently asked questions

Can I compare two sheets in the same workbook?

Yes. Use separate Excel windows, conditional formatting or an IF helper formula. WorkbookDiff requires two XLSX files, so copy each tab to its own workbook and give the copied sheets matching names first.

Can I compare sheets from different workbooks?

Yes. Excel can display the files side by side. For WorkbookDiff, prepare two XLSX copies with matching sheet names and aligned coordinates; there is no arbitrary tab-pair selector.

Does conditional formatting compare formulas?

The value rule shown here compares results, not formula expressions. Use FORMULATEXT for text comparisons or WorkbookDiff for stored formula-change categories across two saved XLSX files.

What happens when rows are in a different order?

The examples compare matching positions. Sort working copies by the same stable key first, or use a key-based value reconciliation workflow. WorkbookDiff version comparison does not realign rows.

Is comparing sheets free?

The native methods require a suitable Excel installation. WorkbookDiff comparison and full CSV export are free without signup; the optional $19 one-time handoff report is separate.

Will copying a tab preserve all formula dependencies?

Not necessarily. Copying or renaming a tab can alter references or create external links. Check the prepared copies in Excel; compare original aligned workbook versions when preserving dependencies matters.