Skip to content
Easy Diff Checker
In this guide

Excel

How to compare two Excel files and find every changed cell

Learn how to compare two Excel files without reading them row by row: Excel's own options, matching rows by ID, and what to check before you trust the result.

December 5, 2026 · 3 min read

Someone sends you “price_list_final.xlsx”. Last week they sent “price_list_final_v2.xlsx”. Both have 800 rows, they look the same, and you need to know what changed.

Reading them side by side is slow, and it is easy to miss a single digit. Here are better ways to do it.

Why spreadsheets are hard to compare by eye

A spreadsheet is a grid, so one small edit can hide anywhere. Three things make it worse:

  • Rows move. Someone sorts the sheet, and now row 12 is row 340.
  • Rows get added. One new line near the top shifts everything below it.
  • Changes look tiny. 4.50 and 4.75 are easy to skim past.

Option 1: Excel’s own tools

If you have Excel, you can start there.

View Side by Side (on the View tab) puts two workbooks next to each other and scrolls them together. It helps with short sheets, but you still do the spotting yourself.

A formula check works when both sheets have the same layout. Copy both into one workbook and, on a third sheet, enter =Sheet1!A1<>Sheet2!A1, then fill it across and down. Every TRUE is a cell that differs. If rows were sorted or inserted, though, almost everything after that point shows as different.

Spreadsheet Compare is a separate Microsoft program for Windows. It is included only with some business editions of Office, so many people don’t have it.

Option 2: Compare the files in your browser

You can also use our Excel and CSV diff checker:

  1. Drop the old file on the left and the new file on the right. Excel, OpenDocument, Numbers and CSV files work, and you can also paste cells.
  2. If a workbook has several sheets, pick the one you want on each side.
  3. Press Compare Sheets.
  4. Look through the added, removed and changed rows. Each changed cell is highlighted.
  5. Download the differences as an Excel or CSV file if you need to share them.

The files are read on your device and are not uploaded, which matters for price lists, payroll and customer data.

Match rows by an ID

This is the setting that makes the biggest difference. Instead of comparing row 1 with row 1, match rows by a column that identifies each record, such as a SKU, invoice number or email address.

The tool tries to detect that column for you, and you can choose it yourself. A good ID column:

  • has a value in every row,
  • has no repeats,
  • does not change between versions.

Names are usually a poor choice, because two people can share one and spellings get corrected.

Cut out the noise

Some “differences” are not real changes. These options help:

  • Trim spaces, so Pen and Pen count as the same.
  • Ignore case, so PAID and Paid match.
  • Compare numbers by value, so 1.5 and 1.50 are treated as equal.

Turn them on only when the difference truly doesn’t matter to you. In a product code, a capital letter or a leading zero may be important.

Check these before you trust the result

  • Are you comparing the right sheet in each workbook?
  • Is the header row in the same place on both sides? Title rows above the table can confuse any comparison.
  • Did a column get renamed? It may show as one column removed and another added.
  • Do dates mean the same thing? 03/04 can be March or April if the cells were typed as text.

Comparing something simpler?

If you only have two columns of values, such as email addresses or IDs, the list diff checker is quicker. It shows what is only in the first list, only in the second, and in both. If your data comes from an API instead of a sheet, read how to compare two JSON files.

Summary

For a short sheet with the same layout, Excel’s side-by-side view or a formula is enough. When rows have moved or the file is large, match rows by an ID and let a comparison tool list the changed cells. Then you only need to review what actually changed.

See it in action

Original

sku,name,price,stock
A100,Notebook,4.50,120
A101,Pen,1.20,300
A102,Stapler,6.00,45

Changed

sku,name,price,stock
A100,Notebook,4.75,120
A101,Pen,1.20,280
A102,Stapler,6.00,45
A103,Marker,2.10,90

A tiny price list saved as CSV. One price and one stock count changed, and one product was added.

Open this example in the text compare tool

Quick answers

How do I compare two Excel files if the rows are in a different order?

Match the rows by a column that is unique for each record, such as an order number or SKU. The comparison then lines up the same record in both files, wherever it sits.

Can I compare an Excel file with a CSV file?

Yes. Our Excel and CSV diff checker reads both, so you can compare an .xlsx export with a .csv export of the same data.

Does the comparison check formulas and formatting?

Our tool compares cell values. It does not report changes to formulas that give the same result, or to colors, fonts and column widths.

Share this guide

More guides

In this guide

History

Stored only in this browser. Up to 50 checks.

Keyboard shortcuts

Compare
⌘↵
Next change
]j
Previous change
[k
Show this list
?
Close dialogs and menus
Esc

Letter shortcuts are ignored while you type in a text box.