How do I reconcile data after a migration?
To reconcile data after a migration, take exports from the old and new systems at the same cut-off, compare row counts and control totals, match records on a composite key, map old columns and codes to new ones, compare values with agreed tolerances, and list every break: missing records, extra records, duplicates and changed values. Fix the causes, re-run the same rules until the breaks clear, and keep the report as sign-off evidence.
Frequently asked questions
What is data migration reconciliation?
Data migration reconciliation is proving that the data in the new system matches the data in the old one: the same records, the same values and the same totals. It goes beyond checking that the load job finished. A load that completes without errors can still drop rows that failed a validation rule, truncate text or map a code to the wrong value.
Are matching row counts enough to prove a migration worked?
No. Equal row counts only show that the same number of records arrived. A missing record and a duplicate cancel each other out, and counts say nothing about values. Use row counts as the first, cheapest check, then add control totals, a key-by-key comparison and field-level value checks.
What should a data migration reconciliation report include?
For each table or file: the cut-off, source and target row counts, the difference, control totals for key amounts, and a list of breaks grouped by type (missing in target, extra in target, duplicate key, value difference). Each break line should show the key, both values, the difference and the rule that flagged it. Add the mapping version, the tolerances used, and who signed off and when.
How do checksums help in migration reconciliation?
A checksum or hash turns a record, or a whole batch, into a short fingerprint. If the fingerprints match on both sides, that batch probably matches; if they differ, you drill into that batch row by row. Checksums only work if both sides normalise the data the same way first (trimmed text, same date format, same decimal places, same column order), and a mismatch tells you where to look, not what is wrong.
What tolerances should I use when reconciling migrated financial data?
Keys, identifiers, counts and quantities should match exactly. Amounts, prices and FX-converted values usually need a small, written tolerance to absorb rounding, for example 0.01 in the reporting currency, or a basis-point limit for large balances. Set tolerances per field before you run the comparison, not after you see the breaks, and record them in the report.
How do I reconcile when column names or codes changed in the new system?
Build a mapping once: old column to new column, plus a crosswalk for codes that changed (old account codes to new ones, old status values to new ones, old identifiers to new identifiers). Apply the mapping to the old side before comparing. Records whose code has no entry in the crosswalk are breaks in their own right. Version the mapping, because it is usually the first thing to change between dry runs.
What is the difference between migration validation and migration reconciliation?
Validation checks the target on its own: are mandatory fields filled, are formats and data types correct, do the referential links hold. Reconciliation compares the target with the source: did every record arrive, with the right values and totals. You need both. A target can be perfectly valid and still be missing a thousand records.
What are the most common causes of breaks after a migration?
Records rejected by an import rule and never reloaded; values changed by a mapping decision nobody wrote down; text cut short because a target field is shorter; dates or decimals reformatted; records loaded twice or left over from a test load; and timing differences when the old system kept taking updates after the extract.
Can I reconcile a migration in Excel?
For small extracts, yes, if you match on a proper key rather than row position and check for duplicate keys first. Excel stops at 1,048,576 rows per sheet, and VLOOKUP and XLOOKUP return only the first match, so duplicates hide silently. For large or multi-file migrations, use a keyed comparison tool or script that reads the full files.
How many times should I run the reconciliation?
At every dry run, after every fix, and once more on the final cutover data. Use the same keys, mapping and tolerances each time so the results are comparable, and keep each run's report. Sign-off should rest on the final run showing zero unexplained breaks.
Step by step: reconciling data after a migration
Step 1: Fix the scope and the cut-off
Agree which tables or files are in scope, which records are deliberately excluded (closed accounts, archived years), and the exact cut-off for both extracts. If the old system keeps taking updates, freeze it or record the point you extracted at. Most first-run breaks are timing, not data errors.
Step 2: Compare row counts and control totals
Per table or file, compare record counts, then totals of the amounts that matter, grouped by something meaningful such as entity, period and currency. Never add balances across entities or ledgers without a written rule. This takes minutes and tells you where to look first.
| Check | Old system | New system | Difference |
|---|---|---|---|
| Accounts (rows) | 48,212 | 48,209 | -3 |
| Balance total, Entity A (USD) | 1,204,883,410.22 | 1,204,883,410.22 | 0.00 |
| Balance total, Entity B (USD) | 310,442,019.75 | 310,441,977.75 | -42.00 |
Illustrative figures. Totals can agree while individual records are wrong, so carry on to the key-level steps.
Step 3: Choose a composite key
Pick the fields that identify one record on both sides, for example entity + account number + currency or portfolio + security identifier + as-of date. Check each side for duplicate and blank keys before comparing; both are breaks. If the new system issued new IDs, match on the old reference it carries, or build a cross-reference table first.
Step 4: Map columns and codes once
Write the mapping down and apply it to the old side before comparing.
| Old system | New system | Rule |
|---|---|---|
| ACCT_NO | AccountNumber | Trim, remove leading zeros |
| CCY | Currency | Upper-case ISO code |
| BAL | LedgerBalance | Tolerance 0.01 |
| STATUS (A/C/S) | Status (Active/Closed/Suspended) | Code crosswalk |
| OPEN_DT (DD/MM/YYYY) | OpenDate (ISO 8601) | Parse, compare as date |
Step 5: Set tolerances per field
Exact on keys, identifiers, counts and quantities. A small written tolerance on amounts, prices and converted values. Agree them with the data owner before the run and store them with the mapping.
Step 6: Use checksums to narrow down large tables
On large tables, compute a hash per record or per batch (for example per month or per entity) on both sides after the same normalisation, compare the hashes, and drill into only the batches that differ. Prove the approach on a few known records first, since two systems can format the same value differently.
Step 7: Produce a break report
Compare record by record on the key and list every break by type: missing in new system, extra in new system, duplicate key, unmapped code, value difference. Show the key, both values, the difference and the rule for each line. Each type usually goes to a different owner: a missing record needs a reload, a value difference is a mapping question, a duplicate is a clean-up.
Step 8: Fix, re-run and sign off
Fix the cause, not just the target record, so the next load doesn't recreate the break. Re-run with the same key, mapping and tolerances, and keep each run's report. Sign off when the final cutover run shows zero unexplained breaks, with any accepted differences listed and explained.
Doing this on large CSV or Excel files
ShipDataFast is reconciliation software that checks a golden source against Finance's spreadsheets for UK investment, fund and finance operations teams, matching records on composite keys with written column-mapping rules and tolerances and producing a break report on CSV or Excel (XLSX) files. Large files can be scoped. Rules are saved, so each dry run and the final cutover are checked the same way. See Migration Assurance or try Recon Check on two sample files.
Related guides
- How to compare two large CSV files with different columns
- How to compare spreadsheets with different column names
- How to reconcile positions against your books
Further reading on migrations
Planning a cutover?
Tell us what you are moving and we will reply with how we would reconcile it.