ReconFiles

Guide4 min read

How to reconcile two CSV files without Excel formulas

Matching two exports by hand with VLOOKUP is slow and error-prone. Here's a faster, clearer way to line up records from two systems and see exactly what agrees and what doesn't.

If you work in finance or operations, you've almost certainly done this: two spreadsheets open side by side, a VLOOKUP in a spare column, scrolling through hundreds of rows trying to work out why one file says one thing and the other says something else. It works, but it's slow, fragile, and easy to get wrong.

This guide walks through what reconciling two CSV files actually involves, why the spreadsheet-formula approach causes so much friction, and a cleaner way to do it that takes seconds instead of an afternoon.

What "reconciling two files" really means

Reconciliation is the process of comparing two sets of records that should agree, and finding every place where they don't. In practice you're usually answering four questions:

The key that links the two files together is usually a shared reference — a payment reference, invoice number, transaction ID, or order number. As long as both files contain that reference in some column, they can be matched.

Why the VLOOKUP approach is painful

The classic method is to add a VLOOKUP (or XLOOKUP, or an INDEX/MATCH) that looks up each reference from file A inside file B. It works, but it has real weaknesses:

None of these are insurmountable, but together they mean a "quick reconciliation" turns into an hour of formula-wrangling, and any mistake is invisible until someone notices the numbers are off.

A cleaner step-by-step approach

Whether you use a dedicated tool or build it carefully in Excel, a reliable reconciliation follows the same logical steps:

  1. Identify the shared key. Find the column in each file that holds the same reference. It might be called something different in each — Payment Ref in one, Description in the other — but the values should match.
  2. Normalise the values. Trim leading and trailing spaces, and decide whether case matters. ABC-123 and abc-123 should usually be treated as the same reference.
  3. Group by the key. If a reference can appear more than once, group all rows that share it so you can compare totals rather than individual lines.
  4. Match across both directions. Find references in both files (matched), references only in the first, and references only in the second — all in one pass.
  5. Compare the amounts. For matched references, sum the amount on each side and flag any where the totals differ.
  6. Review the exceptions. The matched rows usually need no attention. Your time goes into the unmatched and mismatched records — that's where the real work is.
Key idea

The goal isn't to look at every row — it's to surface only the rows that need a human. A good reconciliation hides the hundreds of clean matches and shows you the handful of exceptions.

Handling the tricky cases

Duplicate references

A single payout of £300 might correspond to three separate invoice lines of £100 each in your accounting system. That's not an error — it's a one-to-many relationship. The correct way to handle it is to sum all rows sharing a reference on each side and compare the totals: £300 against £100 + £100 + £100. They reconcile.

Formatting mismatches

Numbers stored as text, leading zeros, trailing spaces, and inconsistent capitalisation are the most common reasons a reconciliation "fails" when the data is actually fine. Always normalise before matching.

Amount differences that aren't errors

If your files involve foreign currency, two systems may convert the same payment at slightly different exchange rates, producing a difference of a few pence. These aren't genuine discrepancies. Setting a small tolerance — both an absolute amount and a percentage — lets you ignore this noise while still catching real problems. We cover this in detail in our guide to foreign currency reconciliation.

Skip the formulas entirely

ReconFiles does all of the above in your browser — upload two CSVs, it matches them and shows you exactly what doesn't line up.

Try the reconciliation tool →

The bottom line

Reconciling two files isn't conceptually hard, but doing it well by hand requires juggling lookups, sums, normalisation, and duplicate handling all at once — which is exactly why it's so error-prone. Whether you build it carefully in a spreadsheet or use a purpose-built tool, the principles are the same: normalise your keys, match in both directions, sum before you compare, and focus your attention on the exceptions rather than the matches.