A bank reconciliation in Excel explains why your bank balance and your cash book balance do not agree. In this tutorial you build one that matches both lists by itself. The example is Lone Star Comfort HVAC, a fictional heating and cooling company in Austin, Texas. At the end of October 2026 the books are out by $9.00, and one check with two swapped digits is the reason.

⬇️ Download Free from NextGenTemplates👥 Join Free on Skool & Download
Both are free · same practice file · pick the one you like
Practice file + solution workbook · .zip · Microsoft 365 or Excel 2021
Watch the Video Tutorial
Video Overview
The video opens with the finished sheet, fixes the one wrong amount and turns the status box green. Then you start from the practice file and build each part: a status column on both lists, status colours, summary cards, the two-sided reconciliation statement, automatic lists of unmatched items and the final status box. It ends with the quick check that finds swapped digits.

The Data: Two Excel Tables
The Bank Statement sheet holds tblBank and the Cash Book sheet holds tblBook. Each has Date, Ref, Description, Amount and Status. Money in is positive and money out is negative. The bank closing balance is $45,050.93 and the cash book opening balance is $48,615.40.

Step 1: Status of Every Line
Type this formula in the first Status cell of the bank table. The table fills it down.
=IF(COUNTIFS(tblBook[Ref],[@Ref])=0,"Not in Book",IF(COUNTIFS(tblBook[Ref],[@Ref],tblBook[Amount],[@Amount])=0,"Amount Differs","Matched"))

The first COUNTIFS checks the reference. The second checks the reference and the amount, so a typing error cannot hide behind a correct reference. Use the same idea on the cash book.
=IF(COUNTIFS(tblBank[Ref],[@Ref])=0,"Not on Bank",IF(COUNTIFS(tblBank[Ref],[@Ref],tblBank[Amount],[@Amount])=0,"Amount Differs","Matched"))

Step 2: Status Colours
Select the Status column and add Conditional Formatting rules with Text that Contains: Matched in green, Differs in red and Not in yellow. Copy the rules to the other sheet with the Format Painter.

Step 3: Summary Cards
Matched items, bank only items and book only items:
=COUNTIFS(tblBank[Status],"Matched")
=COUNTIFS(tblBank[Status],"<>Matched")
=COUNTIFS(tblBook[Status],"<>Matched")

Step 4: The Reconciliation Statement
One rule makes this easy: items that are only in the cash book adjust the bank side, and items that are only on the bank statement adjust the book side.
Bank side
Balance per bank statement, deposits in transit, outstanding checks and adjusted bank balance:
='Bank Statement'!D5
=SUMIFS(tblBook[Amount],tblBook[Status],"Not on Bank",tblBook[Amount],">0")
=-SUMIFS(tblBook[Amount],tblBook[Status],"Not on Bank",tblBook[Amount],"<0")
=C15+C16-C17

Book side
Balance per cash book, interest and credits, fees and debits, and adjusted book balance:
='Cash Book'!D5+SUM(tblBook[Amount])
=SUMIFS(tblBank[Amount],tblBank[Status],"Not in Book",tblBank[Amount],">0")
=-SUMIFS(tblBank[Amount],tblBank[Status],"Not in Book",tblBank[Amount],"<0")
=F15+F16-F17

The difference must be zero. Link the Difference card to this cell.
=C18-F18

Step 5: List the Unmatched Items with FILTER
=FILTER(tblBank,tblBank[Status]<>"Matched","All matched")
=FILTER(tblBook,tblBook[Status]<>"Matched","All matched")
Each formula spills a complete list, so keep the cells below it empty.

Step 6: The Status Box
=IF(ROUND(C20,2)=0,"RECONCILED","OUT BY "&TEXT(ABS(C20),"$#,##0.00"))
ROUND stops a tiny leftover from decimal arithmetic making the test fail.


Find the Error: Divide by 9
A difference of 9 divides evenly by 9, a common sign of swapped digits. Check 1052 cleared the bank for $1,254.00 but was typed as $1,245.00 in the cash book. Change the cash book amount to -1254. Matched items rise to 28, the difference becomes $0.00 and the box shows RECONCILED.

The five items left on the bank list (fees, interest and the returned check) are entries to post in the cash book. The five on the book list are timing items that clear next month.
Manual Ticking or This Template?
| Task | Manual ticking | This workbook |
|---|---|---|
| Match lines | Tick one by one | COUNTIFS status column |
| Catch wrong amounts | Easy to miss | Amount Differs flag |
| Open items | Copy by hand | FILTER lists |
| Month closed? | Compare totals | Status box |
Download the Free Practice File
The zip holds the empty practice workbook and the finished solution.
⬇️ Download Free from NextGenTemplates👥 Join Free on Skool & Download
Both are free · same practice file · pick the one you like
Practice file + solution workbook · .zip · Microsoft 365 or Excel 2021
Want a Complete Finance Toolkit?
See the Finance and Accounting Command Center from Next Gen Templates, a set of 8 finance templates. To learn these formulas in depth, join Excel + AI Mastery: 100 Essential Formulas and Real-World Projects. Use code BF40 for 40% off, valid till 1 December 2026, 23:59 IST. Microsoft’s FILTER function documentation explains spill results.
Related Tutorials
- Accounts Payable Aging Report in Excel
- Budget vs Actual Variance Report in Excel
- Bill of Materials Template in Excel
Frequently Asked Questions
What is a bank reconciliation?
A bank reconciliation compares the bank statement with your cash book and explains every difference, until the adjusted bank balance equals the adjusted book balance.
How do I match a bank statement with a cash book in Excel?
Match on the reference number and the amount with COUNTIFS. Descriptions are written differently by the bank and your office, so do not match on them.
What are deposits in transit and outstanding checks?
Deposits in transit are deposits recorded in your books that the bank has not processed yet. Outstanding checks are checks you wrote that have not cleared. Both adjust the bank side.
Which items adjust the book side?
Items that appear only on the bank statement, such as bank fees, interest and returned checks, adjust the cash book balance.
What does a difference divisible by 9 mean?
It often points to two swapped digits, for example 1,254 typed as 1,245. Check the amounts that differ first.
Which Excel version do I need?
The FILTER function needs Microsoft 365 or Excel 2021 or later.
By PK, An Excel Expert. Lone Star Comfort HVAC and all names and numbers are fictional example data for learning.
Conclusion
COUNTIFS matches the two lists, SUMIFS builds the reconciliation statement, FILTER lists the open items and one IF tells you if the month is closed. Next month, paste the new lines into the two tables and update the balances.



