Your Converted Statement Does Not Balance. Here Is How to Find the Row

A converted statement that is out by £43.19 has one bad row, not a hundred. Binary search on the running balance finds it in about seven steps, whatever the statement size.

5 min read


Your conversion is out by £43.19. Somewhere in four hundred rows is one that is wrong, and the instinct is to start reading from the top.

Do not. The size and shape of that £43.19 already tells you what kind of error it is, and a binary search will find the row in about nine comparisons rather than two hundred. Both techniques take a couple of minutes to learn and will save you hours a month for the rest of your career.

First, read the difference itself

Before looking at a single row, look at the number. Four tests, in this order, each costing seconds:

Does it divide by nine? Then suspect a transposition. Any two swapped digits produce a difference that is a multiple of nine — 4,517 against 4,571 gives 54; 82 against 28 gives 54 again; 1,234 against 1,243 gives 9. This is arithmetic, not superstition: swapping digits in positions n and n+1 changes the value by nine times the difference between them, times a power of ten.

Divide the difference by nine and the quotient hints at magnitude. A difference of 4,500 divides to 500, which suggests digits swapped in the hundreds and thousands columns.

Is it exactly twice a transaction you can find? Then it is a sign error. Recording a £320 payment as a receipt moves the balance by £640 — once for the money that should have left, once for the money that wrongly arrived. Halve the difference and search the amount column for the result.

Does it equal a transaction exactly? Then a row is missing or duplicated. Search the amount column: appearing twice means a duplicate, not appearing at all means the row was dropped.

Is it a round number of pounds with no pence? Then suspect a whole missing entry — a bank charge, a standing order, a transfer — rather than a misread figure. Misreads usually carry pence with them; omissions rarely do.

If none of the four fits, the difference is probably more than one error, and it is time to locate rather than diagnose.

Binary search: nine steps, not four hundred

This works whenever the statement prints a running balance. It requires no insight at all, which is exactly what you want from a procedure you run when tired.

  1. Go to the row halfway down the statement.
  2. Compute what the balance should be there: the opening balance plus every movement above that row.
  3. Compare against the balance printed on that row.
  4. They agree? Every row above is correct; the error is below. They disagree? The error is at or above this row.
  5. Repeat on whichever half contains it.

Each pass halves the search space:

TransactionsComparisons to isolate one bad row
506
1007
4009
1,00010
5,00013

A spreadsheet makes step 2 free. Put the opening balance in a cell, add a running total column beside the printed balance, and subtract one from the other. The first row where the difference column becomes non-zero and stays non-zero is the error. At that point you are not binary-searching at all — you are reading the answer.

That column is worth building once and keeping as a template. It turns every future break into a five-second lookup.

When there is no running balance

Plenty of statements print only an opening and a closing figure. Binary search needs a checkpoint on each row, so it does not apply.

Two fallbacks:

Split by page. Most statements print a carried-forward subtotal at each page break. That gives you a checkpoint per page, which is a coarse binary search — enough to narrow four hundred rows to the thirty on one page.

Split by date. Sum your extracted rows week by week and compare each week against the same week in the PDF, read by eye. Slower, but it still halves and halves rather than reading in order.

The four causes, and what each looks like

Once you have the row, the fault is usually one of these.

A transposed figure. Two digits swapped during typing or misread by OCR. Divides by nine. Most common in manual entry; on scans, look at 5 against 6 and 3 against 8 first, because those are the pairs OCR confuses most.

An inverted sign. A withdrawal recorded as a deposit. Difference is exactly double. Very common when a statement prints debits and credits in separate columns and neither carries a minus sign — the single-signed-column problem in its most expensive form.

A duplicated row. Almost always page furniture: a repeated header, a brought-forward line, or a subtotal parsed as a transaction. If your extracted row count exceeds the count printed on the statement, this is why. Multi-page statements grow transactions that never happened covers the mechanism.

A dropped row. Usually a transaction whose description wrapped onto two lines, where the second line was read as a row of its own with no amount — and then discarded. Look for rows in the PDF that occupy two lines and check each one survived.

The trap: adjusting instead of finding

At some point the difference is small and the temptation is to post it and move on.

A small unexplained difference is not a rounding error. It is an unexplained error that happens to be small, produced by a fault that will produce it again next month at a different size. The fifteen minutes spent finding it now is the cheapest that fifteen minutes will ever be.

There is one honest exception: where a bank genuinely rounds, as some foreign-currency conversions do, the difference is explained, systematic, and can be posted as exactly that.

Preventing the next one

The reason a conversion breaks silently is that nothing checked it. A spreadsheet has no opinion about whether it is complete.

The fix is to make the balance check part of the conversion rather than something you do afterwards — compute the closing balance from what was extracted, compare it against the closing balance printed on the statement, and refuse to call the job done when they disagree. That is the difference between a converter that produces output and one that produces evidence, and it is covered in opening balance, closing balance, and the proof that a conversion is complete.

When the check runs every time, you never search for a bad row again. You are told which one it is.

Common questions

Why does my converted bank statement not balance?
Almost always one of four things: a transposed figure, a row whose sign was inferred wrongly, a duplicated row from a repeated page header, or a row dropped because it wrapped onto two lines in the PDF. The size and sign of the difference tells you which.
Does a difference divisible by nine mean a transposition?
It is strong evidence. Any two-digit transposition produces a difference that is a multiple of nine, so a difference of 27, 90 or 450 is worth checking for swapped digits before anything else. It is not proof, because other errors can also be multiples of nine.