Repeat a comparison of CSV exports

Keep the previous export and compare it with the next export using the same row key and options. Download the Excel workbook and CSV to review the complete change list.

Keep a stable row key

Use a column such as SKU or Employee ID. For a combined key, use the same columns in each comparison, such as Store and Product code. If you omit a key, the comparison explains its automatic key choice or content matching.

Keep comparison options consistent

Use the same ignored columns, case setting, space normalization and numeric tolerance. When a column is renamed, provide its old and new names in column_map. Numeric tolerance applies both to changed cells and to content matching.

A repeatable example

Call compare_spreadsheets with these values:

{
  "old_table": "SKU,Price\nA1,10.00\nB2,5.00",
  "new_table": "SKU,Price\nA1,10.50\nC3,7.00",
  "key_columns": ["SKU"],
  "numeric_tolerance": 0.01
}

The result has one changed row, one added row and one removed row. A1 changes by 0.50, or 5%. The Excel workbook includes a Summary, Changed, Cell changes, Added, Removed and an annotated new version. summarize_changes provides column statistics with the same downloads.

Check the limits

Review the reported differences before using them in your own workflow. The comparison does not edit either input file. Generated download links expire in about one hour.