How to Reconcile Two Spreadsheet Exports With AI

9 min read

Make this article actionable

Send the article context into Vife Agent and turn it into a plan, checklist, or draft you can keep working on.

Open in Agent

Two exports, one number, and a Monday meeting. Finance's ledger export says $412,900 was collected last month. The CRM export says $418,300. Both were pulled this morning, both are "correct," and someone has to explain the $5,400 gap before noon.

The usual response is a VLOOKUP and a prayer. The better response treats reconciliation as a defined workflow: one question, one unit, one key, tiered matching, a reason code for every difference, and a sign-off that shows your assumptions. An AI assistant can carry most of the mechanical load — normalization, candidate pairs, the exception register — as long as you keep the decisions.

Why the two files disagree before you match a single row

Almost every reconciliation gap traces back to one of four structural causes, and none of them is a formula error.

  1. Different as-of moments. One export was pulled at 09:10, the other at 16:40. Payments posted in between appear on one side only.
  2. Different grain. The ledger stores invoice lines; the CRM stores orders. One order with a partial shipment is three lines against one row.
  3. Different vocabularies. "Closed Won" in the CRM, "Posted" in the ledger, "Collected" in the board report. The same state, three words.
  4. Different arithmetic. Tax included on one side, excluded on the other; refunds netted in one system and gross in the other.

Some of this is a timing problem no formula fixes. If the figure you are comparing was also published somewhere — a pricing page, a terms page, a public dashboard — you can check what that page said on a given date. Perplexity announced Time Machine on November 25, 2026 for its Search and Context APIs, letting a request read web copies saved at or before a chosen timestamp, with cutoffs reaching back 365 days at launch (Unite.AI's report of the announcement). That checks the outside world, not your own two files.

Mid-read shortcut

Turn the useful parts into next steps

Vife Agent can convert this guide into a prioritized workflow with tasks, risks, and reusable prompts.

Create a brief

Step 1 — Write the reconciliation question in one sentence

Before opening either file, complete this sentence:

For [period], does [file A] agree with [file B] on [metric] at [grain], within [tolerance], and if not, what explains every difference above [materiality]?

A filled-in version: For October 2026, does the ledger export agree with the CRM export on cash collected at invoice-line level, within $1.00 per line, and if not, what explains every difference above $500?

Three things this sentence forces you to decide up front: the metric (collected cash, not booked revenue), the grain (invoice line, not order), and materiality (what you will actually investigate). Without them you will match every row and prove nothing.

Step 2 — Freeze both files and record their state

Save read-only copies and log, for each file: name, export timestamp with timezone, row count, filters applied, currency, period definition, and who exported it.

This is not bureaucracy. A re-run export halfway through reconciliation moves rows, and every conclusion you drew about "missing" records becomes wrong in a way that is very hard to see.

Step 3 — Fix the unit and the key before any matching

DecisionGood choiceCommon trap
Unit
The coarsest unit both systems actually store
Matching orders to lines and calling the extra lines "duplicates"
Key
A stable ID that survives edits (invoice number, order ID)
Customer name or email, which changes and duplicates
Amount
Net of tax, in minor units, one currency
Mixing gross and net across the two files
Date
One definition (posting date, not creation date)
Comparing order dates to payment dates

Aggregate up, never guess down: roll the more detailed side up to the coarser unit rather than inventing detail to make rows line up.

Step 4 — Normalize with a mapping table, not with edits

Do the cleanup in added columns, never by editing source cells. Four passes cover most files:

  • Text: trim whitespace, unify case, strip invisible characters, keep IDs as text so leading zeros survive.
  • Dates: convert to ISO format in one timezone; state which one.
  • Money: convert to minor units; apply a dated exchange rate if currencies differ, and record the rate.
  • Vocabulary: build a status map. CRM "Closed Won" → ledger "Posted" → report "Collected." Refund, credit note, and chargeback need explicit rows too.

Every normalization gets a line in the mapping table, with the rule and an example, so the next person can reproduce your columns.

Step 5 — Match in tiers, and let the AI only propose

Match in order of certainty, and stop each tier before starting the next.

  • Tier 1 — exact key. Same ID on both sides. Accept.
  • Tier 2 — key plus amount. Same ID, amount within tolerance. Accept and flag the amount difference as a reason code.
  • Tier 3 — composite. Same amount, date within a window (three days is a reasonable default for settlement), and a name or reference that agrees. These need review.
  • Tier 4 — fuzzy candidates. Name variants, transposed digits, split payments. These are proposals only.

This is where an assistant earns its place: it can normalize two messy files, propose Tier 3 and Tier 4 pairs, and show the evidence for each proposal. Give it the rule in the prompt, not after the fact:

text
You are matching two exports of the same records. Files: A (ledger, one row per invoice line), B (CRM, one row per order). Rules: 1. Match only on the keys and tolerances below. Do not invent IDs. 2. Return one row per proposed pair: A_id, B_id, match_tier, amount_a, amount_b, date_a, date_b, name_similarity (0-1), evidence (which fields agreed). 3. Never change a value in either file to make a pair fit. 4. If no pair reaches Tier 3, return the row as unmatched with the closest candidate and why it failed. 5. Do not merge two B rows into one A row unless I ask; list them as candidates.

Two rules matter more than the prompt. First, a match is a pair of IDs; if your output loses one side's ID, you no longer have a match, you have an assertion. Second, anything the assistant proposes below your confidence bar goes to a human, and the human's name goes in the register.

Step 6 — Give every difference a reason code

An unmatched row is not an explanation. Assign one code from a closed list:

CodeMeaningTypical evidence
TIMING
Posted after the export cut-off
Dates straddle the two export times
GRAIN-SPLIT
One record on one side, several on the other
Amounts sum to the other side
STATUS-MAP
Same state, different vocabulary
Status strings differ, dates agree
DUPLICATE
Same event recorded twice
Identical amount, date, reference
MISSING-A / MISSING-B
Genuinely absent
No candidate above Tier 3
AMOUNT-COMPONENT
Fee, tax, discount, or refund handled differently
Difference equals a known component
ENTITY
Wrong customer, store, or currency attached
Name or entity ID mismatch

Keep an "other" bucket if you must, but treat it as a warning light: if "other" exceeds roughly 2% of rows, your mapping is wrong, not the data.

Step 7 — Build the exception register

The register is the deliverable; the summary is a paragraph on top of it. Nine columns are enough:

row_id | side | amount | candidate_match | reason_code | evidence | owner | action | status

Every row above materiality gets an owner and an action — investigate, post an adjusting entry, or accept with a note. Rows below materiality are still coded, because their total is what you report as residual.

Step 8 — Prove the result three ways

  1. Arithmetic tie-out. Total A minus total B must equal the sum of all reason-code amounts, to the cent. If it does not, you have an unclassified row somewhere and the summary is not ready.
  2. Manual re-check. A second person re-checks ten random accepted pairs plus every pair above materiality. Blind: they see the pair, not your verdict.
  3. Regression. Run the same rules against last month's reconciliation, where the answer is already known. If the rules produce a different result on closed data, the rules changed, not the business.

Step 9 — Sign off with assumptions visible

Write a one-page memo: the question from Step 1, the period, both sources with export timestamps, the reconciled total, the residual, the reason-code breakdown, the decisions you made, and what would change the answer. State the assistant's role plainly — it normalized and proposed pairs; a named person confirmed them.

Checklist before you send the number

  • The reconciliation question is written and dated.
  • Both files are frozen, with export times and row counts recorded.
  • Unit, key, amount definition, and date definition are stated.
  • Normalization lives in added columns, with a mapping table.
  • Every match is a pair of IDs, with a tier.
  • Every unmatched row has a reason code; "other" is under 2%.
  • The arithmetic tie-out closes to the cent.
  • A second person re-checked the sample and the material items.
  • The memo names the assistant's role and the human sign-off.

Common mistakes

  • Matching before defining the unit. You end up "finding" duplicates that are actually split shipments.
  • Letting the assistant repair rows. A model that edits a value to close a gap has manufactured agreement. Prohibit it in the prompt and check for it.
  • Accepting a fuzzy match because it looks right. Require the evidence fields; a pair with no agreeing field is a guess.
  • Treating the residual as noise. The residual is the finding. Report it with codes.
  • Re-exporting mid-run. New rows invalidate every "missing" conclusion; freeze first.
  • Explaining differences in prose only. Without reason codes you cannot total the explanations, and without a total you cannot tie out.
  • Skipping the regression. Rules that pass this month can quietly fail last month's closed books.

Reconciliation is not a search for the row that went missing. It is a short, auditable argument that every dollar is accounted for — and that argument is much easier to make when the assistant does the matching and you keep the judgment.