Excel Compare Two Sheets
Find exactly what changed between last week's price list and this week's, row by row and cell by cell, with a report you can forward.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Open the old version
Drop the earlier file under Old sheet and pick its sheet.
- 2Open the new version
Drop the later file under New sheet.
- 3Choose the method
Select rows matched by key or cell by cell.
- 4Pick keys and options
Tap the key column chips and set case, space and number tolerance options.
- 5Review
Switch between Changes, Added, Removed and the highlighted sheet.
- 6Export
Download the diff report XLSX or the changes CSV.
About this tool
When a supplier sends an updated price list or a colleague returns an edited roster, the question is always the same: what is different? Scrolling two windows side by side misses things, and a formula comparison breaks as soon as one row is inserted. This comparer offers two methods. Key-based comparison matches rows by one or more identifying columns, such as an SKU or an employee number, so inserted, deleted and re-sorted rows do not confuse it. It reports rows that exist only in the new sheet as added, rows that exist only in the old sheet as removed, and for rows present in both it lists every column whose value differs, with the old and new value. Cell-by-cell comparison checks the same positions in both grids, which suits fixed layouts such as forms, budgets and timetables where row 12 always means the same thing. Both methods run in your browser on XLSX, CSV, TSV or JSON files.
Tolerances that prevent false alarms
Exports from different systems often disagree in harmless ways. Ignore extra spaces treats double spaces and trailing spaces as equal. Ignore upper/lower case treats ACME and Acme as equal. Numbers are compared as numbers, so 4, 4.0 and 4.00 match, and a number tolerance lets 19.999 and 20 count as the same price if you set it to 0.01. Columns that always change, such as a last-modified timestamp, can be ignored completely in key mode.
Reading the results
Four counters summarise unchanged, changed, added and removed rows. The Changes view lists one line per changed cell and can be filtered by any text. Added and Removed show the full rows. New sheet, highlighted shows the new table with changed cells in yellow, added rows in green and removed rows appended in red. If a key appears twice in either file, a warning says so, because only the first row of each duplicated key can be compared; adding a second key column usually fixes that.
The diff report
The downloaded workbook has a Summary sheet with the counts and settings, a Changes sheet listing key, column, old value and new value, a Marked new sheet with the same colours as the screen, and separate Added and Removed sheets. A CSV of the changes is also available for importing elsewhere. Columns present in only one file are named in the summary.
Limits
The comparison looks at values only. Formatting, formulas, comments and hidden state are not compared. Cell mode does not detect inserted rows; use key mode for lists. Very large sheets with hundreds of thousands of rows may be slow on a phone. This tool does not merge the two files; it reports differences so you can decide what to accept.
Worked example
An old price list has 1,250 SKUs and the new one 1,262. Compared on the SKU column with a tolerance of 0.01, the result is 1,198 unchanged rows, 40 changed rows with 47 changed cells (mostly Price, a few Description), 24 added SKUs and 12 removed ones, since 1,250 minus 12 plus 24 gives 1,262.
Quick facts
- Category: Business & Work
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: ECMA-376 Office Open XML File Formats
Frequently asked questions
Are the sheets uploaded?
No. Both files are compared inside your browser.
Which method should I use?
Key mode for lists of records that can be sorted or inserted; cell mode for fixed layouts such as forms.
Can I use two key columns?
Yes. Select several key chips, for example Store and SKU.
Why are many rows shown as changed when nothing looks different?
Usually spaces, letter case or decimals. Turn on the ignore options or set a number tolerance.
Can I compare two sheets of the same workbook?
Yes. Open the same file on both sides and pick a different sheet on each.
What does the report contain?
Summary, Changes, a colour-marked copy of the new sheet, Added rows and Removed rows.
