Excel comparison example

Compare multiple Excel files against one reference

Check several versions of a product list against one approved copy. This five-file example uses A as the reference for B, C, D, and E. Match by SKU to check stock quantities and unit prices, even when rows move. Each comparison keeps its own results, so you can see which file changed each product. All sample data is fictional.

Download the sample files

These sample files use fictional records and contain the rows shown below. Try them first, then use the same approach with your own files.

What is in the sample files

Reference file

SKUStock quantityUnit price
SKU00110012.5
SKU0022008
SKU0038030

Comparison file B

SKUStock quantityUnit price
SKU0038030
SKU00112013
SKU0022008

File C

SKUStock quantityUnit price
SKU0021808
SKU00110012.8
SKU0038030

File D

SKUStock quantityUnit price
SKU00110012.5
SKU0022008
SKU004609

File E

SKUStock quantityUnit price
SKU0038030
SKU0022008
SKU00110012.5

Follow these steps

  1. Download all five sample files

    baseline.xlsx is reference A; target.xlsx is B; target-c.xlsx, target-d.xlsx, and target-e.xlsx are C, D, and E. Each file has one row per SKU. For your own files, use the same stock units, currency, and tax basis for prices.

  2. Add one reference and four comparison files

    Open the workspace. Add A as the Reference file and B, C, D, and E under Files to compare. Select Products in every file. RowKite supports one reference plus up to four comparison files; A stays the reference throughout this run.

  3. Match by SKU and compare two columns

    Select SKU under Match rows by, then Stock quantity and Unit price under Columns to compare. Identical headers map by name. Keep Raw values for these numeric samples. Stock quantity belongs in the comparison columns so a quantity change does not change the matching key.

  4. Review each file against A

    Click Compare files. B changes SKU001 stock and price. C changes the SKU001 price and SKU002 stock. D is missing SKU003 and adds SKU004. All three rows in E match A. Select All records to include unchanged rows, and read every result relative to A.

  5. Download the complete report

    Download Excel report and use the comparison file identity and source row references to check each difference. The report includes every target and the full results, regardless of the selected filter or page.

Expected results

Match rows by: SKU. Columns to compare: Stock quantity, Unit price.

Comparison fileRecordResultWhat changed
Comparison file BSKU001B: ChangedAgainst A: stock quantity 100 to 120; unit price 12.5 to 13.
Comparison file BSKU002B: SameStock quantity 200 and unit price 8 match A.
Comparison file BSKU003B: SameStock quantity 80 and unit price 30 match A despite the new row position.
File CSKU001C: ChangedAgainst A: unit price 12.5 to 12.8; stock quantity stays at 100.
File CSKU002C: ChangedAgainst A: stock quantity 200 to 180; unit price stays at 8.
File CSKU003C: SameStock quantity 80 and unit price 30 match A.
File DSKU001D: SameStock quantity 100 and unit price 12.5 match A.
File DSKU002D: SameStock quantity 200 and unit price 8 match A.
File DSKU003D: Only in referenceSKU003 exists in A but has no row in D.
File DSKU004D: Only in comparison fileD has SKU004 with stock quantity 60 and unit price 9; A has no such row.
File ESKU001E: SameStock quantity 100 and unit price 12.5 match A.
File ESKU002E: SameStock quantity 200 and unit price 8 match A.
File ESKU003E: SameStock quantity 80 and unit price 30 match A.
Changes, added rows and missing rows for four Excel files compared against one referenceView full-size screenshot ↗
Changes, added rows and missing rows for four Excel files compared against one reference

Read four separate comparisons against A

The run checks A against B, A against C, A against D, and A against E. A stays the reference for every check. To compare B with C directly, start another run with one of those files as the reference.

B changes the stock quantity and unit price for SKU001. C changes the price for SKU001 and the stock quantity for SKU002. D adds SKU004 and is missing SKU003. All three products in E match A.

Count comparison results separately from unique products

The expected-results table lists 13 outcomes across the four comparisons: three changed, eight unchanged, one added, and one missing. SKU001 changes in both B and C, so it contributes two changed results while still being one product.

SKU004 appears only in D. Both A and B lack this product, as do A and C, and A and E. Those empty pairs are excluded from the table above. The complete Excel report also includes reference rows and entries for records absent from both files, so its row count is different from this table.

Choose comparison, row merging, or a lookup

Use this comparison when several files describe the same records and you need to review their differences against one reference. Each file contributes one selected worksheet, with one row per matching key in this example.

Choose a different workflow when your output needs combined rows or extra columns. Comparing the files produces a report of differences and leaves the source workbooks unchanged.

Before using your own files

  • Choose the reference direction before comparing. Added, missing, and changed labels are always relative to that file.
  • For your own files, check that the matching columns identify one record. If a SKU repeats by warehouse or another detail, include that column in the key and review repeated matching values in the issues list.
  • Use the same business scope, stock units, currency, and tax basis across files. Standard .xlsx and .xls formulas are read from their saved results.
  • Download the complete report before leaving the workspace. Comparison files and results stay in the current browser task.

Limits: 2–5 .xlsx / .xls files, with both formats allowed in one comparison. Use standard, unencrypted Excel 97–2003 tables for .xls. Limits are 10 MiB per file, 30 MiB total, 10,000 rows and 50 columns per sheet, and 1 million populated cells across all files. Reports are always exported as .xlsx. Refreshing, closing the page, or leaving the workspace clears the current files.

Continue with your files

Read the full guide and comparison rules · Learn how files and results are handled

RowKite · See the differences side by sideComparison files stay on your device. Download your report before leaving.