Bank reconciliation in Excel: matching the cash book to the statement
A bank reconciliation checks that your cash book and the bank statement agree. Match each item in one list against the other by reference and amount with COUNTIFS, =COUNTIFS($D$2:$D$7,A2,$E$2:$E$7,B2). The items left over explain the gap between the two balances, and once they're all accounted for, the difference is £0.00. COUNTIFS, SUMIFS and SUMIF work the same in every version of Excel on Windows and Mac, in Excel for the web and in Google Sheets.
Bank reconciliation at a glance
| You want | Formula | What you get |
|---|---|---|
| Is this cash book line on the statement? | =IF(COUNTIFS($D$2:$D$7,A2,$E$2:$E$7,B2)>0,"Yes","No") | Yes if the reference and the amount both match |
| Is this statement line in the cash book? | =IF(COUNTIFS($A$2:$A$7,D2,$B$2:$B$7,E2)>0,"Yes","No") | No for bank charges and direct debits not entered yet |
| Unpresented cheques | =SUMIFS(B2:B7,C2:C7,"No",B2:B7,"<0") | Money out in the cash book that hasn't cleared |
| Outstanding lodgements | =SUMIFS(B2:B7,C2:C7,"No",B2:B7,">0") | Money in that isn't on the statement yet |
| Items to enter in the cash book | =SUMIF(F2:F7,"No",E2:E7) | The statement lines nobody has entered |
| One amount from Paid in and Paid out | =C2-B2 | Money in as a plus, money out as a minus |
Each one is worked through below, with a sheet.
A worked example
A small print firm's cash book and bank statement both started November at £2,400.00. On 30 November the cash book says £4,413.50 but the statement says £3,645.00. Going through the two lists item by item:
- Cheque 104872 for £215.50 is in the cash book but not on the statement. The supplier hasn't paid it in yet, so it's an unpresented cheque.
- Paying-in 1128 for £905.00 is in the cash book but not on the statement. It went into the bank on the last afternoon, so it's an outstanding lodgement.
- Bank charges of £15.00 and an insurance direct debit of £64.00 are on the statement but not in the cash book. Nobody has entered them yet.
Unpresented cheques and outstanding lodgements are timing differences: they'll be on next month's statement. The bank charges and the direct debit are real and need entering in the cash book.
- The bank's figure, put right: £3,645.00 − £215.50 + £905.00 = £4,334.50.
- The cash book's figure, put right: £4,413.50 − £15.00 − £64.00 = £4,334.50.
They agree, so the difference is £0.00 and the cash book is right apart from the two items to enter.
Matching the two lists
Put the cash book on the left and the statement on the right. Both lists here show money in as a plus and money out as a minus. Then ask of each cash book line: is there a line on the statement with the same reference and the same amount?
=IF(COUNTIFS($D$2:$D$7,A2,$E$2:$E$7,B2)>0,"Yes","No")
COUNTIFS($D$2:$D$7,A2,$E$2:$E$7,B2)counts the statement lines whose reference is A2 and whose amount is B2.>0asks whether it found at least one.- The
$signs keep the statement in place when the formula is copied down. F4 adds them (Cmd+T on a Mac): see $ and F4.
Then do the same the other way round, in column F, to find statement lines that aren't in the cash book. The No lines are the ones to explain, and SUMIFS adds them up for the reconciliation underneath.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Cash book | Amount | On bank? | Statement | Amount | In cash book? |
| 2 | SALES 1101 | £1,250.00 | Yes | SALES 1101 | £1,250.00 | Yes |
| 3 | CHQ 104871 | -£380.00 | Yes | DD Rates | -£186.00 | Yes |
| 4 | BACS Kerr | £640.00 | Yes | CHQ 104871 | -£380.00 | Yes |
| 5 | CHQ 104872 | -£215.50 | No | BACS Kerr | £640.00 | Yes |
| 6 | DD Rates | -£186.00 | Yes | Bank charges | -£15.00 | No |
| 7 | SALES 1128 | £905.00 | No | DD Insurance | -£64.00 | No |
| 8 | ||||||
| 9 | Statement balance | £3,645.00 | ||||
| 10 | Unpresented cheques | -£215.50 | ||||
| 11 | Outstanding lodgements | £905.00 | ||||
| 12 | Adjusted bank balance | £4,334.50 | ||||
| 13 | ||||||
| 14 | Cash book balance | £4,413.50 | ||||
| 15 | Items to enter | -£79.00 | ||||
| 16 | Adjusted cash book | £4,334.50 | ||||
| 17 | Difference | £0.00 |
Read the bottom half as the reconciliation: the statement balance, less the cheques that haven't cleared, plus the money that hasn't arrived, gives the same figure as the cash book once the bank's own items are in it.
What to do with each item left over
- On the statement only (bank charges, interest, direct debits, standing orders, a customer paying by BACS): enter them in the cash book, each to the right nominal code.
- In the cash book only (unpresented cheques, outstanding lodgements): nothing to enter. Tick them off on next month's statement, and chase any that still haven't cleared.
- Same reference, different amount: one of the two is wrong. The bank pays what's written on the cheque, so check the cheque stub or the paying-in slip.
If the difference isn't £0.00 and it divides exactly by 9, look for two digits swapped: £450 typed as £540 is a difference of £90. Customers who still owe you money after the month end belong in an aged debtors report, and a bill paid in advance, such as a year's insurance by direct debit, may need spreading as a prepayment.
A statement with Paid in and Paid out columns
Most bank exports have two money columns. Make one Amount column first, with money in as a plus and money out as a minus. With Paid out in B and Paid in in C, that's =C2-B2. A blank cell counts as 0, so each row gives the one amount that's there, with the right sign.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Statement | Paid out | Paid in | Amount |
| 2 | SALES 1101 | £1,250.00 | £1,250.00 | |
| 3 | DD Rates | £186.00 | -£186.00 | |
| 4 | CHQ 104871 | £380.00 | -£380.00 | |
| 5 | BACS Kerr | £640.00 | £640.00 | |
| 6 | Bank charges | £15.00 | -£15.00 | |
| 7 | DD Insurance | £64.00 | -£64.00 |
The cash book must use the same signs, or nothing will match. If the export puts the money in a single column with "DR" or "CR" next to it, use IF: =IF(C2="DR",-B2,B2) turns each debit into a minus.
Common mistakes
Matching on the reference only
=COUNTIF($D$2:$D$7,A2) says Yes to a cheque entered as £450 that cleared at £540. Match the amount as well, which is why it's COUNTIFS with two conditions.
The statement range moves
Without $ signs, the copy in row 5 looks in D5:D10, so items near the top of the statement are missed and show No. Lock the range.
Two identical lines
Two direct debits for the same amount to the same supplier both match one line on the statement. If an item can appear twice, compare how many times it's in each list. In this sheet the waste collection is in the cash book twice but on the statement once, so one of the two hasn't cleared.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Cash book | Amount | In cash book | On statement | Statement | Amount | |
| 2 | DD Waste | -£48.00 | 2 | 1 | DD Waste | -£48.00 | |
| 3 | BACS Kerr | £640.00 | 1 | 1 | BACS Kerr | £640.00 | |
| 4 | DD Waste | -£48.00 | 2 | 1 | CHQ 104875 | -£92.00 | |
| 5 | CHQ 104875 | -£92.00 | 1 | 1 | Bank charges | -£12.00 |
Where the two counts differ, the difference is how many are missing.
A difference of a penny
Amounts worked out by formula, such as VAT, can hold fractions of a penny. Round them where they're worked out (see ROUND), not at the end.
Try it now
In C2, show Yes if the cash book line is on the statement with the same reference and the same amount, or No if it isn't. Your formula will be copied down to C9.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Cash book | Amount | On statement? | Statement | Amount |
| 2 | CHQ 200341 | -£420.00 | BACS Hale Farm | £1,180.00 | |
| 3 | BACS Hale Farm | £1,180.00 | CHQ 200341 | -£420.00 | |
| 4 | DD Water | -£96.40 | DD Water | -£96.40 | |
| 5 | CHQ 200342 | -£275.00 | Paid in 0412 | £650.00 | |
| 6 | Paid in 0412 | £650.00 | CHQ 200342 | -£257.00 | |
| 7 | CHQ 200343 | -£138.60 | Card sales 0512 | £2,315.80 | |
| 8 | Card sales 0512 | £2,315.80 | Bank charges | -£18.50 | |
| 9 | Paid in 0612 | £480.00 | Interest | £2.14 |
Open this in Try a formula: the same sheet with the answer filled in, to change or share by link.
Part of Excel for finance and bookkeeping: every lesson on the topic, with a project in Excel.
Questions
How do I do a bank reconciliation in Excel?
Put the cash book and the bank statement side by side, each with a reference and an amount, money in as a plus and money out as a minus. Next to each line, use COUNTIFS to check whether the other list has the same reference and amount. Add up the lines marked No: unpresented cheques and outstanding lodgements adjust the bank balance, and bank charges and direct debits adjust the cash book. The two adjusted balances should agree.
What are unpresented cheques and outstanding lodgements?
An unpresented cheque is one you've written and entered in the cash book that hasn't cleared the bank yet, so it's not on the statement. An outstanding lodgement is money you've paid in that the bank hasn't shown yet, often because it went in on the last day. Both are timing differences: they'll be on next month's statement. Take the cheques off the statement balance and add the lodgements on.
Why won't my bank reconciliation balance?
Check the signs first: both lists need money in as a plus and money out as a minus. Then look for a line in both lists at different amounts, such as a cheque entered as £275 that cleared at £257. A difference that divides exactly by 9 often means two digits swapped. Also check for items entered twice, an opening balance that doesn't match last month's, and amounts with fractions of a penny from formulas.
Can Excel match bank transactions automatically?
Yes, with formulas. COUNTIFS checks each line against the other list by reference and amount, and shows Yes or No once copied down. Matching on the amount as well as the reference catches typing errors. Where the references differ between the two lists, match on the amount and the date instead. Conditional formatting can colour the No lines so the items to explain stand out.