ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Projects
  3. Do a Bank Reconciliation in Excel Step by Step

Do a Bank Reconciliation in Excel Step by Step

By ExcelReady Team·Updated November 3, 2026·6 min read

The short answer

To do a bank reconciliation in Excel, put the bank statement and your cash book on two sheets. Mark each book entry as cleared or not with COUNTIF, check amounts with XLOOKUP, and find bank-only items such as fees. Then adjust: bank balance plus uncleared items should equal book balance plus bank-only items.

Key takeaways

  • Use a reference column, such as cheque or invoice number, to match the two lists.
  • =IF(COUNTIF(Bank!$A$2:$A$50,A2)>0,"Yes","No") marks each book entry as cleared or not.
  • XLOOKUP pulls the bank amount next to the book amount so mismatches stand out.
  • Adjusted bank balance = bank balance + SUMIF of uncleared items; adjusted book balance = book balance + bank-only items.
  • Compare the two with ROUND so tiny decimal differences don't hide a true match.
On this page+
  1. What is a bank reconciliation?
  2. Set up your two lists
  3. Match transactions with COUNTIF
  4. Check amounts with XLOOKUP
  5. Find items that are only in the bank
  6. Calculate the adjusted balances with SUMIF
  7. Common reconciliation problems
  8. Practise it

A bank reconciliation in Excel checks that your cash book agrees with the bank statement, and explains every difference. You match the two lists with COUNTIF and XLOOKUP, list what appears on only one side, and use SUMIF to bring both balances to the same number. This guide is for bookkeepers, small business owners and accounting candidates, and it builds the whole reconciliation on a small example you can copy.

What is a bank reconciliation?#

A bank reconciliation compares your own record of cash (the cash book) with the bank statement for the same period. The two balances are rarely equal on the day, and the reconciliation explains why.

Differences fall into two groups:

  • Timing items are in your books but not yet at the bank: deposits in transit (money you paid in that the bank hasn't shown yet) and outstanding cheques (payments you wrote that the bank hasn't paid out yet). These adjust the bank side.
  • Bank-only items are on the statement but not yet in your books: bank fees, interest, direct debits. These adjust the book side.

When both adjusted balances match, the books are reconciled. Reconciliations like this are a core task in the Excel skills for bookkeepers guide.

Set up your two lists#

Put each list on its own sheet, with a shared reference column. Cheque numbers, deposit slip numbers or invoice numbers all work. Use negative numbers for money out and positive numbers for money in.

Book sheet (your cash book), opening balance 5,000:

ABC
1RefDescriptionAmount
2DEP-01Customer payment2,500
3CHQ-101Rent-800
4CHQ-102Supplier-450
5DEP-02Customer payment1,200
6CHQ-103Insurance-300

Book balance: 5,000 + 2,500 − 800 − 450 + 1,200 − 300 = 7,150.

Bank sheet (the statement export), same opening balance:

ABC
1RefDescriptionAmount
2DEP-01Deposit2,500
3CHQ-101Cheque paid-800
4FEEMonthly fee-15

Bank balance: 5,000 + 2,500 − 800 − 15 = 6,685. The two balances differ by 465, and the next steps explain every bit of it.

Match transactions with COUNTIF#

COUNTIF tells you whether a reference from one list appears in the other. On the Book sheet, add a Cleared column. In D2, type:

Excel formula
=IF(COUNTIF(Bank!$A$2:$A$50,A2)>0,"Yes","No")

Fill it down to D6. COUNTIF counts how many times the reference in A2 appears in the bank list, and IF turns that count into Yes or No. The dollar signs lock the bank range so it doesn't move as you fill. The result: DEP-01 and CHQ-101 are Yes; CHQ-102, DEP-02 and CHQ-103 are No.

This is the same technique as checking whether a value exists in another list. The COUNTIF function guide covers the syntax.

Check amounts with XLOOKUP#

A matching reference doesn't prove the amount is right. XLOOKUP brings the bank amount next to the book amount, so you can compare them. In E2 on the Book sheet:

Excel formula
=XLOOKUP(A2,Bank!$A$2:$A$50,Bank!$C$2:$C$50,"Not in bank")

Then in F2, flag any difference:

Excel formula
=IF(ISNUMBER(E2),C2-E2,"")

Every matched row should show 0 in column F. A non-zero value means the amount was entered differently on one side. XLOOKUP needs Excel 2021 or Microsoft 365. In older versions, use =IFERROR(VLOOKUP(A2,Bank!$A$2:$C$50,3,FALSE),"Not in bank"). The XLOOKUP function guide explains each argument.

Find items that are only in the bank#

Now run the check the other way, to catch fees, interest and direct debits you haven't recorded. On the Bank sheet, in D2:

Excel formula
=IF(COUNTIF(Book!$A$2:$A$50,A2)=0,"Not in book","")

Fill down. Only the FEE row shows Not in book. Checking both directions is the key idea; the guide to comparing two lists shows other ways to do it, including conditional formatting.

Calculate the adjusted balances with SUMIF#

SUMIF adds only the rows that meet a condition, so it can total the uncleared items and the bank-only items in one step each.

Adjusted bank balance = bank balance + every uncleared book item:

Excel formula
=6685+SUMIF(Book!D2:D6,"No",Book!C2:C6)

The uncleared items are −450 + 1,200 − 300 = 450, so the result is 7,135.

Adjusted book balance = book balance + every bank-only item:

Excel formula
=7150+SUMIF(Bank!D2:D4,"Not in book",Bank!C2:C4)

The only bank-only item is the −15 fee, so the result is also 7,135. In a real file, point to the balance cells instead of typing 6685 and 7150.

Finally, check the difference with ROUND:

Excel formula
=ROUND(H2-H3,2)

If H2 and H3 hold the two adjusted balances, the result is 0: reconciled. ROUND matters because money with decimals can leave a tiny difference such as 0.0000000001, which makes =H2=H3 return FALSE. The guide to floating-point rounding errors explains why. After reconciling, record the 15 fee in your cash book.

Common reconciliation problems#

If the difference isn't zero, work through these in order:

  1. No shared reference. Bank exports often lack your invoice numbers. Match on amount instead with =COUNTIF(Bank!$C$2:$C$50,C2), then check by date.
  2. Repeated amounts. Two payments of 450 both match one bank line of 450. When matching on amount, compare how often a value appears in each list; see finding duplicates in two columns.
  3. Sign errors. A payment entered as +450 instead of −450 creates a difference of 900, twice the amount.
  4. Swapped digits. If the difference divides evenly by 9, two digits may be swapped, such as 450 typed as 540.
  5. Text references. "CHQ-102 " with a trailing space won't match "CHQ-102". Clean the column with TRIM first.
  6. Ranges that stop too early. New rows below row 50 are ignored. Use an Excel table so ranges grow.

Practise it#

A bank reconciliation is COUNTIF, XLOOKUP and SUMIF working together. Try the adjusted-balance exercise on this page, then practise COUNTIF in a live spreadsheet, match records in the XLOOKUP lesson and total by condition in the SUMIF lesson. Each answer is checked instantly. The SUMIF function guide is a quick reference, and the finance Excel mock test lets you try similar tasks under time pressure.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Column C shows whether each book entry has cleared the bank. Click E2 and add the uncleared amounts to the bank balance in E1 with SUMIF, then press Enter.

fx
ABCDEF
1
Ref
Amount
Cleared
Bank balance
6685
2
DEP-01
2500
Yes
Adjusted bank balance
3
CHQ-101
-800
Yes
4
CHQ-102
-450
No
5
DEP-02
1200
No
6
CHQ-103
-300
No
7
8
9

Tip: Start with E1, then add SUMIF: check C2:C6 for "No" and add the matching amounts in B2:B6.

Practise this in a lesson

LessonCOUNTIFCount the cells that match a condition, from exact words to number checks like ">=8".LessonXLOOKUPLook up in any direction with XLOOKUP and show a friendly message when nothing matches.LessonSUMIFAdd up only the numbers that meet a condition, with and without a separate sum range.Function guideCOUNTIFCount cells that match one condition with COUNTIF: text, numbers, wildcards and cell references. Real examples and a live exercise.Function guideXLOOKUPXLOOKUP explained with real examples: exact matches, looking left and custom not-found messages, plus a live exercise to try now.Function guideSUMIFAdd up values that meet one condition with SUMIF. Totals by category, person or amount, the argument-order trap, and a live exercise.

Frequently asked questions

What is a bank reconciliation?

+

It is a check that your own cash records agree with the bank statement for the same period. Differences are usually timing items, such as cheques not yet cashed, or items you haven't recorded yet, such as bank fees.

How do I match bank transactions in Excel?

+

Match on a reference such as cheque number or invoice number with COUNTIF or XLOOKUP. If there is no shared reference, match on amount and date, but check repeated amounts by hand.

What are deposits in transit and outstanding cheques?

+

A deposit in transit is money you recorded but the bank hasn't yet shown. An outstanding cheque is a payment you recorded but the bank hasn't yet paid out. Both are added to or taken from the bank balance.

Why doesn't my bank reconciliation balance?

+

Look for a missing transaction, an amount typed wrongly, an item counted twice, or a sign error. If the difference divides evenly by 9, two digits may have been swapped, such as 450 entered as 540.

Is there a bank reconciliation template in Excel?

+

You can build one in minutes with two lists, a COUNTIF match column, an XLOOKUP amount check and two SUMIF totals. Building it yourself means you understand every number in it.

Sources

  • COUNTIF function - Microsoft Support
  • XLOOKUP function - Microsoft Support
  • SUMIF function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What is a bank reconciliation?
  2. Set up your two lists
  3. Match transactions with COUNTIF
  4. Check amounts with XLOOKUP
  5. Find items that are only in the bank
  6. Calculate the adjusted balances with SUMIF
  7. Common reconciliation problems
  8. Practise it

Keep reading

Lookups· 5 min read

How to Compare Two Lists in Excel

To compare two lists in Excel, use COUNTIF to check whether each item in one list appears in the other: =IF(COUNTIF($C$2:$C$6,A2)>0,"Yes","No"). To list the missing items in one go, use FILTER with COUNTIF. To see the differences at a glance, add a conditional formatting rule that highlights items with no match.

Tests & careers· 5 min read

Excel for Bookkeeping: The Skills You Use Every Day

The Excel skills used most in bookkeeping are totalling transactions by category with SUMIF and SUMIFS, rounding tax and splits to the cent with ROUND, keeping a running balance, matching two lists during a reconciliation, and adding check cells that prove your totals agree. Clean, consistent data entry makes every one of these work.

Lookups· 6 min read

Check If a Value Exists in a List in Excel

To check if a value exists in a list, use =COUNTIF(A2:A8,D2)>0. It returns TRUE if D2 appears anywhere in A2:A8 and FALSE if it doesn't. For a friendlier answer, wrap it in IF: =IF(COUNTIF(A2:A8,D2)>0,"Yes","No"). =ISNUMBER(MATCH(D2,A2:A8,0)) does the same job and works in every Excel version.

More on projects

  • Build a Bill of Materials in Excel With Costs
  • Build a Bill Tracker in Excel
  • How to Build a Billable Hours Tracker in Excel
  • Break-Even Analysis in Excel, Step by Step
  • Budget vs Actual Report in Excel With Variance
  • Build a Simple Cash Flow Forecast in Excel
All projects articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free