Three bank statements, one checked ledger
Different money columns, one sheet. 810 transactions kept; two accounts balance, one statement is 25p short.

Source rows → ledger · All account checks
Case 02 of 8 in Excel & VBA casebook
What was wrong
- Each statement showed money coming in and going out differently.
- Matching dates and amounts could belong to different accounts.
- Copying the transactions together would leave an incorrect balance unchecked.
What I did
- I put the transactions in one sheet, and kept each original filename and row number beside it.
- I worked out the balance after every transaction, starting with the opening balance.
- I compared each account’s final balance with its statement and kept the accounts separate.
- I marked the difference for review and left the original amounts unchanged.
Proof
| Measure | Source statements | Checked ledger |
|---|---|---|
| Coverage | 270 transactions per account, 1 Oct–31 Dec | 810 retained; none excluded |
| Money | £54,544.50 in; £26,264.68 out | £28,279.82 net movement |
| ACCT-C close | £9,904.25 reported | £9,904.50 calculated; −£0.25 difference |
| Account results | Separate account settings | Two balance; one needs review |
The balance after the last transaction and the final account total show the same difference. That account still needs review; its original figures remain unchanged.
Download the .xlsx workbooks: before: statement overview · after: checked ledger · reconciliation · execution record
Original statements: layout A · layout B · layout C · account settings
See the detail: original layouts · all account checks · flagged row and its source
Developer details: reproduce the results and inspect the checks
Try it yourself
Optional technical check for a developer:
./run.sh
This produces the .xlsx workbooks and balance checks in output/, prints PASS, and keeps the difference marked REVIEW. Developer setup and next quarter’s files.
A developer can reuse the check with new statements in the supported layouts; a different bank layout needs its columns mapped first.
How it is tested
The verification record is a historical run; its source hashes identify that snapshot, not the current rendering/page sources.
- 30 tests passed: source rows and money are conserved, including same-day transactions, charges, credits and separate accounts.
- Tests expose incorrect balances and invalid records, and verify unchanged sources and safe repeat runs with replacement inputs.
- The .xlsx workbooks were produced with Python 3.12.3 / openpyxl 3.1.2 and checked with LibreOffice 24.2.7.2; 9,055 saved cell values matched.
Maintained by Genco Doganay, Ardholt
The price below is based on statement pages, not transaction count. For a quarterly job, I confirm the page count and price before starting.
Contact me through the platform where you found this case.
£10 fixed, up to 15 pages, every figure keyed twice and balances tied, 2 working days.
This case at its size (a quarter of statements, 810 transactions): £20-£30 fixed, quoted from the page count before I start.
More rows or pages: I quote the difference in writing before I start.