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
- CSV, TSV and Excel .xlsx input; save legacy .xls files as .xlsx first.
- Up to 50,000 data rows and 15 MB per attached file; pasted tables support up to 200,000 characters.
- One sheet from each workbook is compared per call. Choose old_sheet and new_sheet when needed.
- Formula cells are compared using their saved values.
- If content matching has too many possible pairs, choose key_columns or split the files into smaller parts.
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.