EXCEL COMPARE
Compare two Excel files
Open two .xlsx workbooks, match rows by an ID column and see changed cells, added rows and removed rows. Free, no account, and your files stay in this browser tab.
CLEANING PREVIEW
Cleaned data
- Removed row
- Extra spaces removed
- Empty cell filled
Removed records are left out of this view and your download.
COMPARISON PREVIEW
What changed?
A inventory-september.csv vs B inventory-october.csv Sample data Change files ↓
Values show before → after. Added rows appear only in B; removed rows appear only in A. Reports protect cells that could run as spreadsheet formulas.
| Lines | Status | sku | product | price | stock |
|---|---|---|---|---|---|
| A 2 · B 3 | Changed · 1 cell | A-100 | Canvas tote | 24.00 | |
| A 4 | Only in A | A-102 | Linen apron | 32.00 | 18 |
| A 6 · B 2 | Changed · 1 cell | A-104 | Wool throw | 7 | |
| B 6 | Only in B | A-105 | Cedar coasters | 18.00 | 40 |
How the Excel compare works
Choose an .xlsx file for A and for B, or drop them on the panels above. The workbooks are unpacked by this browser tab; nothing is uploaded. The example loaded on the page is CSV, so replace both files with your own.
What is read from each workbook
- The first visible sheet. Hidden sheets are skipped. The file line shows the sheet name and how many visible sheets the workbook has. To compare a different sheet, move it to the front and save, or save that sheet as CSV.
- Values as stored, not as displayed. A cell shown as
$1,200.00is compared as1200; Excel’s number formats are not applied, so a change of format alone is not a difference. Numbers are rounded to the 15 significant digits Excel displays. - Formulas as their saved result. The value Excel saved with the file is compared, not the formula text. Some programs that write .xlsx save formulas without a result; those cells are blank, and the file line says how many.
- Dates as YYYY-MM-DD, with the time added when the cell has one, so a date compares the same whether one workbook shows
3/15/2023and the other15-Mar-23. - TRUE and FALSE for logical cells, and error codes such as
#N/Aas text.
Rows are matched by a key, not by position
Pick a column whose value identifies each row, such as an order number, email or SKU. Re-sorting one sheet then creates no false differences: in our re-sorted orders test, matching by position reported 24 differences and matching by ID reported 6. If no single column is unique, match on up to three together.
Download the result as a workbook
Under Report, choose Excel workbook, changes highlighted. The .xlsx has every record with changed cells in yellow, records only in B in green and records only in A in red, a Changes sheet with the A and B value of each changed cell, and a summary of the counts and the rules that were on. Values are written as text, so IDs keep their leading zeros. CSV reports are there too.
When to use something else
To see changed formulas, formatting, comments or VBA, or to compare several sheets at once, use Microsoft’s Spreadsheet Compare where your Excel plan includes it; this guide compares the two approaches. Older .xls, binary .xlsb and OpenDocument .ods files, and password-protected workbooks, are not opened: the page says so and asks you to save them as .xlsx or CSV.
Limits
Files up to 15 MB each, and the sheet must fit in 15 MB as CSV. The table previews the first 400 rows; downloads include every row.
Comparing CSV exports instead? Use the CSV compare tool. Need to tidy a sheet first? Open it in the CSV cleaner.