Home>Blogs>Excel Tips and Tricks>Bank Reconciliation in Excel: Match Your Bank Statement to the Cash Book
Excel Tips and Tricks

Bank Reconciliation in Excel: Match Your Bank Statement to the Cash Book

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.

Bank reconciliation in Excel showing out by 9 dollars
The finished reconciliation before the fix: out by $9.00.

⬇️  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.

Reconciled bank reconciliation in Excel with zero difference
After the fix both adjusted balances are $46,885.78.

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.

Cash book table with date, reference, description and amount
The cash book table with an empty Status column.

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"))

COUNTIFS formula matching bank lines on reference and amount
Each bank line is Matched, Not in Book or Amount Differs.

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"))

Status column on the cash book table
The cash book status column.

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.

Conditional formatting colours for matched and unmatched lines
Problems stand out at once.

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")

COUNTIFS summary cards on the reconciliation sheet
27 matched, 6 bank only and 6 book only.

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

Adjusted bank balance with deposits in transit and outstanding checks
Adjusted bank balance: $46,885.78.

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

SUMIFS formula for bank fees not in the cash book
A minus sign before SUMIFS shows fees as a positive number.

The difference must be zero. Link the Difference card to this cell.

=C18-F18

Difference between adjusted bank and book balance
The difference is -$9.00.

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.

FILTER function listing unmatched bank and book items
Six open items on each side.

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.

IF ROUND TEXT formula for the reconciliation status box
Add the two colour rules to the status box.
Status box showing out by 9 dollars
Out by $9.00.

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.

Reconciled status after correcting the cash book amount
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?

TaskManual tickingThis workbook
Match linesTick one by oneCOUNTIFS status column
Catch wrong amountsEasy to missAmount Differs flag
Open itemsCopy by handFILTER lists
Month closed?Compare totalsStatus 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

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.

PK
Meet PK, the founder of PK-AnExcelExpert.com! With over 15 years of experience in Data Visualization, Excel Automation, and dashboard creation. PK is a Microsoft Certified Professional who has a passion for all things in Excel. PK loves to explore new and innovative ways to use Excel and is always eager to share his knowledge with others. With an eye for detail and a commitment to excellence, PK has become a go-to expert in the world of Excel. Whether you're looking to create stunning visualizations or streamline your workflow with automation, PK has the skills and expertise to help you succeed. Join the many satisfied clients who have benefited from PK's services and see how he can take your Excel skills to the next level!
https://www.pk-anexcelexpert.com