Bank statement PDF to Excel: how to know no transaction was missed
Copying a bank statement out of a PDF goes wrong in predictable places. One equation tells you whether the conversion is complete, and the running balance tells you which row broke.
If you have ever copied a bank statement out of a PDF into Excel, you know the problem is not getting the numbers out. It is knowing that all of them came out, and that each one landed in the right column. One missed row and the month doesn't reconcile, and you find out weeks later.
There is a simple test that settles it, and it works whether you convert by hand, with a script, or with a tool.
Why copying from a PDF goes wrong
A PDF doesn't hold a table. It holds pieces of text placed at positions on a page. When you copy it, the reader has to guess which pieces form a row, and it guesses wrong in a few predictable places:
- Descriptions that wrap onto a second line become an extra row with no amount.
- Statements split into sections (Deposits, Withdrawals, Checks) lose the section, so you can't tell money in from money out.
- Credit card statements often show charges as positive and payments as negative, the opposite of a bank account.
- Page breaks repeat the column headings, or drop the row that sat on the edge.
- Thousands separators and minus signs come out as text, so Excel won't add them.
Any one of them is enough to throw the month off.
The test: does it add up?
Every statement prints an opening balance and a closing balance. Whatever happened in between is the list of transactions. So:
opening balance + every transaction = closing balance
If your converted list makes that equation true to the cent, nothing is missing and nothing is doubled. If it is off, the difference tells you where to look: an amount that matches one transaction usually means that row was dropped or counted twice.
In Excel, with the transactions in column C (money in positive, money out negative):
=ROUND(opening + SUM(C2:C200) - closing, 2)
A result of 0 means the statement is complete.
Check the running balance too
Many bank statements also print a balance after every transaction. That gives you a second, stronger check: work out each row's balance from the one above and compare it with the printed one. The first row where they differ is the row that went wrong. This catches the rare case where two mistakes cancel each other out in the total.
Credit cards work the same way, backwards
On a card statement the "balance" is what you owe. Purchases raise it and payments lower
it. Flip the signs before you run the test, or run it as
previous balance + charges - payments - credits = new balance.
What to do with the result
- Keep the check next to the data (a small "Check" sheet works) so the next person can see the statement was proven, not just converted.
- For QuickBooks Desktop or Quicken, export the checked list as OFX or QFX rather than retyping it.
- Don't trust a conversion that can't show this check, however good it looks.
Doing it without the manual work
We built the OpsBench Statement Converter around exactly this test. You drop statement PDFs in, it reads every transaction, and it only marks a statement as done when the opening balance plus the transactions equals the closing balance, and, where the statement prints a running balance, every row agrees with it. If something doesn't add up, the rows to look at are shown in red. The result comes as Excel (with the Check sheet), CSV or OFX, and the PDF isn't kept unless you ask us to check a statement by hand.
Whichever way you convert, run the test. It takes a minute and it's the difference between "looks right" and "is right".
-
How to convert a credit card statement to Excel (and get the signs right)
Get credit card transactions from a PDF statement into Excel, handle charges, payments, refunds and multiple cardholders, and check the total against the new balance.
-
How to convert a bank statement PDF to Excel (4 ways, and how to check the result)
Four ways to get bank statement transactions from a PDF into Excel, what goes wrong with each, and the one check that proves no transaction is missing.
-
Bank statement converter: 7 things to check before you trust one
What separates a reliable bank statement converter from a risky one: proof of completeness, layouts, sections, credit cards, output formats, scanned pages and what it keeps of your data.