GUIDE · EXCEL
How to reconcile two sets of records in Excel
A reconciliation answers three questions: what is in my records but not theirs, what is in theirs but not mine, and where do we both have the item but disagree on the amount. This guide works through a bank reconciliation; the same steps reconcile any two sets of records.
The example layout
Two sheets, named Ledger and Bank, each with the date in column A, a reference in column B and the amount in column C, starting in row 2. The formulas assume up to 500 rows; change the ranges to fit.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Reference | Amount | Bank amount | Difference |
| 2 | 3 Feb 2026 | CHQ-2041 | 1,250.00 | ||
| 3 | 4 Feb 2026 | DEP-0388 | 8,400.00 | ||
| 4 | 5 Feb 2026 | CHQ-2042 | 312.50 |
1. Get both sides into the same shape
Most reconciliations that fail to match do so because of formatting, not because of real differences. Before matching, make sure amounts are numbers on both sides, references have no stray spaces, and both sides use the same sign: if the bank shows payments as negative and your ledger shows them as positive, add a column that flips one of them.
Clean a reference
=TRIM(B2)
Turn a text amount into a number
=VALUE(C2)
Flip the sign
=-C2 2. Look up each ledger item on the bank statement
On the Ledger sheet, put this in D2 and fill it down. It fetches the bank amount for the same reference, or says so when the bank has no such item. XLOOKUP needs Microsoft 365 or Excel 2021.
=XLOOKUP(B2,Bank!$B$2:$B$500,Bank!$C$2:$C$500,"Not in bank") In older versions use VLOOKUP: =IFERROR(VLOOKUP(B2,Bank!$B$2:$C$500,2,FALSE),"Not in bank")
3. Flag the amounts that disagree
In E2 on the Ledger sheet, subtract the bank amount from the ledger amount wherever a match was found. Anything other than zero is a difference to investigate. ROUND avoids false differences of a fraction of a cent.
=IF(ISNUMBER(D2),ROUND(C2-D2,2),"") 4. Find the bank items that are not in the ledger
The lookup in step 2 only runs one way. On the Bank sheet, put this in D2 and fill it down to catch items the bank has that your ledger does not, such as charges and interest.
=IF(COUNTIF(Ledger!$B$2:$B$500,B2)=0,"Not in ledger","") 5. When there is no shared reference, match on amount and date
Bank statements often carry no usable reference. COUNTIFS can match on two columns at once. On the Ledger sheet, this counts the bank lines with the same amount on the same date.
Zero means unmatched. One is a match. More than one means several bank lines fit and you need to decide by hand which is which.
=COUNTIFS(Bank!$C$2:$C$500,C2,Bank!$A$2:$A$500,A2) 6. Total the reconciling items and tie out
A reconciliation is finished when the two balances agree after the reconciling items. Total the unmatched items on each side, then build the summary: balance per bank, plus ledger receipts not yet on the statement, less ledger payments not yet on the statement, should equal the balance per ledger after you have posted the bank-only items.
Ledger items not in bank
=SUMIF(Ledger!$D$2:$D$500,"Not in bank",Ledger!$C$2:$C$500)
Bank items not in ledger
=SUMIF(Bank!$D$2:$D$500,"Not in ledger",Bank!$C$2:$C$500)
Amount differences
=SUM(Ledger!$E$2:$E$500) Where reconciliations in Excel go wrong
- Duplicate references
- XLOOKUP and VLOOKUP return the first match only. If a reference appears twice on either side, the second item is silently matched to the first. Check each side for duplicates with =COUNTIF($B$2:$B$500,B2)>1 before you start.
- One payment, several entries
- A single bank deposit often covers several ledger receipts. No row-by-row lookup will match these; group the ledger side first, for example with SUMIF on the deposit date or batch number.
- Timing differences
- An item dated the last day of the month in the ledger may reach the bank in the next month. Matching on amount and exact date will miss it; these are the legitimate reconciling items the summary in step 6 is for.
- Text that looks like a number
- Amounts imported from a bank download are often text. They will not match numeric amounts and SUMIF will ignore them. Convert them in step 1.
The same reconciliation in Sumlion
Sumlion is an AI assistant that runs in a side pane in Excel. Ask it to reconcile the two sheets and it matches them, then lists what is on one side only and where the amounts disagree, with cell locations. It does not change the workbook; it proposes adjustments and waits for you.
Help me reconcile two datasets in this workbook — match them up and list what's on one side but not the other, plus anything where the amounts disagree, with cell locations. Don't change any cells; propose the adjustments and wait for me.
Questions
- What is the formula to reconcile in Excel?
- There is no single formula. The core of most reconciliations is a lookup that fetches the other side's amount, such as =XLOOKUP(B2,Bank!$B$2:$B$500,Bank!$C$2:$C$500,"Not in bank"), followed by a subtraction to show the difference.
- How do I do a bank reconciliation in Excel with VLOOKUP?
- On the ledger sheet use =IFERROR(VLOOKUP(B2,Bank!$B$2:$C$500,2,FALSE),"Not in bank") to fetch the bank amount for each reference, then subtract it from the ledger amount. Run a COUNTIF the other way to find bank items missing from the ledger.
- How do I reconcile two columns in Excel?
- If you only need to know which values are in one column and not the other, use =IF(COUNTIF($B$2:$B$100,A2)=0,"Missing",""). Our guide to comparing two lists covers this in detail.
- How do I reconcile when there is no common reference?
- Match on a combination of columns instead, usually amount and date, with COUNTIFS. Expect to resolve some items by hand where several lines share the same amount.