StatementProof Get it — $24
Home / Guides / Pre-import audit
Bank CSV · Excel

How to check a bank CSV before importing it (the 10-minute audit)

Updated 5 December 2026 · 10 minute read · no account, no upload — everything here works on your own file

"It imported fine" is the most expensive sentence in bookkeeping. A file can import without a warning, reconcile to nothing, and be short one transaction — because the bank capped the export at 5,000 rows, or a currency symbol stopped one amount being a number, or Excel turned a date into something Xero reads differently. None of these fail the import. All seven checks below take about ten minutes, and every one of them runs on formulas you can paste.

On this page
  1. Start from the raw file, not a spreadsheet
  2. Check 1 — tally the file against the statement
  3. Check 2 — the balance chain
  4. Check 3 — dates that cannot be read one way
  5. Check 4 — duplicates
  6. Check 5 — amounts that are not numbers
  7. Check 6 — where the file was cut off
  8. Check 7 — order, period and signs
  9. Keep the result
  10. When you would rather it ran itself

Start from the raw file, not a spreadsheet

Before any formula: open the file once in a plain text editor — Notepad, TextEdit in plain text, VS Code. You are looking for four things that a spreadsheet view is designed to hide.

Then work on a copy. Excel's CSV save is not round-trip safe: it will re-apply regional date formats, strip leading zeros from account numbers, and turn long numbers into scientific notation.

Check 1 — tally the file against the statement (2 minutes)

Write these six numbers down before you touch anything, from the statement itself:

  1. Opening balance
  2. Closing balance
  3. Number of transaction lines
  4. Total money in
  5. Total money out
  6. Statement period (first and last date)

Now the same five from the file. If the line count differs, stop there — the rest of the audit is about finding out why. If the count matches but the totals do not, one amount was read wrongly. If the totals match and the balance does not, a transaction is duplicated or has the wrong sign.

Check 2 — the balance chain (3 minutes, the check that finds a missing row)

If the export has a running balance column, you already have a row-by-row proof of completeness. Set the file up as A Date, B Description, C Amount (signed), D Balance, with the header in row 1 and data in rows 2 to 1001.

In E3, put the chain test: this row's balance should equal the previous balance plus this row's amount.

=ROUND(D3-C3-D2,2)

Fill it down to the last row. Every zero is a link that holds. A non-zero value is a break, and — this is the useful part — the difference it reports is usually the amount of the transaction that is missing.

Count the breaks in one cell instead of scrolling:

=SUMPRODUCT(--(ROUND(D3:D1001-C3:C1001-D2:D1000,2)<>0))
Why this catches what the totals miss. A dropped row removes its amount but the bank's balances are unchanged, so exactly one link breaks and the gap equals the missing amount. A duplicated row breaks one link in the opposite direction. A misread amount breaks one link by the difference between the two readings. One formula, three failure modes.

No balance column? Most banks still let you prove the total. The opening balance is the first row's balance minus its amount — or simply the statement's opening figure. Then:

=ROUND(SUM(C2:C1001)+opening-D1001,2)

Zero means the file's amounts account for the whole movement. This weaker check cannot tell you which row is missing, only that the total is short.

Check 3 — dates that cannot be read one way (2 minutes)

Two numbers matter: how many dates are ambiguous, and how many are unambiguous. In F2:

=IFERROR(DAY(A2),"not a date")

Fill down, then count in two cells:

=COUNTIF(F2:F1001,">12")

The rows whose day is above 12 — the ones that prove the file's order.

=COUNTIF(F2:F1001,"<=12")

The rows that could be read either way.

Rows after the 12th are the only ones that prove which order the file uses, because 14 cannot be a month. If the count after the 12th is zero — a short card statement covering only the first ten days of a month, for example — the file alone cannot settle the question and the paper statement is the only source of truth. Do not let a tool, or your own reading, paper over that.

Then check that every date falls inside the statement period:

=COUNTIFS(A2:A1001,"<"&DATE(2026,11,1))+COUNTIFS(A2:A1001,">"&DATE(2026,11,30))

A non-zero result means the export covers more or less than the statement says — usually a date range set wrong on the bank's download screen.

Check 4 — duplicates (1 minute)

Same date, same amount, same description is the signature of a transfer exported twice, or two overlapping date ranges merged into one file.

=COUNTIFS($A$2:$A$1001,A2,$C$2:$C$1001,C2,$B$2:$B$1001,B2)

Anything above 1 is a line to look at, not a line to delete. Two coffees on the same day at the same shop are real, and so are two identical subscription charges. The formula produces a shortlist; you decide.

The duplicate that survives every check. If you export two overlapping date ranges and the bank's export does not include a unique transaction ID, nothing in the file flags the overlap except this formula — and only while the descriptions still match. Import twice and you have doubled real transactions in your books, which is worse than a missing row because it usually goes unnoticed.

Check 5 — amounts that are not numbers (1 minute)

=SUMPRODUCT(--NOT(ISNUMBER(C2:C1001)))

This must be 0. If it is not, the offending cells are the ones where a number did not survive the trip: a leading currency symbol, a trailing CR, parentheses around a credit, a non-breaking space after the figure, a comma used as a decimal separator (1.045,50). Excel left-aligns text by default and right-aligns numbers, which is the fastest visual check on a small file.

Convert rather than retype. VALUE() handles most of it once the decorations are gone:

=VALUE(SUBSTITUTE(SUBSTITUTE(TRIM(C2),"$",""),",",""))

Then paste the results back over the original column as values. Until this check passes, the balance chain in Check 2 is meaningless — a text amount contributes nothing to a sum, which is why a file with one text amount can "tie" to the wrong total.

Check 6 — where the file was cut off (1 minute)

Files are lost in four places, and only one of them is Excel.

The test is the same in every case: the last date in the file against the statement's last date, and the closing balance against the statement's closing balance. Check 1 already gives you both.

Check 7 — order, period and signs (1 minute)

Three small things that cost nothing to check and a lot to discover later.

Out-of-order dates — the count of rows where the date goes backwards:

=SUMPRODUCT(--(A3:A1001<A2:A1000))

Most import tools sort by date, so this is usually cosmetic — but it breaks the balance chain's readability, and it is the first sign that two exports were concatenated.

Signs. Pick one purchase and one incoming payment and read them as the accounting software will: negative for money out in a single signed column, positive for money in. A card file where every amount is positive is the classic sign flip, and it has its own guide — why card CSVs import as income.

One date format for the whole file, and one decimal convention. Mixed formats inside one column are a silent error: the first unambiguous date decides how the rest are read — see the 03/04/2026 trap.

Keep the result

The audit is not just a gate; it is working paper. Save the six tally numbers, the break count, the ambiguous-date count and the duplicate shortlist next to the client file — a one-page note is enough. When someone asks in March why February changed, the note that says "file had 412 lines, statement had 413, one row missing, re-exported" is worth more than a clean-looking register.

The order matters if you only have five minutes: 1 → 2 → 5. Tally, chain, numeric amounts. Those three catch the failures that reach the books. Checks 3, 4, 6 and 7 catch the ones that reach them quietly.

When you would rather it ran itself

All seven checks are mechanical, and mechanical work is where a person gets tired on the fourth client file of the evening. StatementProof runs them on a bank or card CSV/TSV/Excel file inside the browser tab — no account, no upload, zero network requests, works with the Wi-Fi off — and then writes the import file:

What it will not do: read PDF statements, choose categories for you, or tell you a file is complete when the bank cut it at 5,000 rows — that is what Check 6 and the statement itself are for.

StatementProof — $24, once

One HTML file, opened in your browser. No subscription, no account, no upload. Three sample statements included so you can see the audit run before you trust it with a client file. Launch code PROOF20 takes 20% off while it runs.

Get StatementProof

14-day refund if it cannot read your bank's export. Not accounting, tax or audit advice — check the import preview in your accounting software before you complete it.

Short answers

My file has no balance column. Is the audit still worth it? Yes — checks 1, 5 and 6 catch most failures, and check 2's total version still proves completeness even though it cannot point at the missing row.

My bank gives me PDFs only. Then the checks still apply to the statement, but the file has to be produced some other way; this audit starts from CSV or Excel.

Do I need to do this every month for every client? The first month for each bank, yes — that is when you learn where its export lies. After that, the chain check alone is usually enough.