In this guide
A matched amount is only a candidate
Two payments can have the same amount. A useful bank reconciliation therefore keeps transaction identities and exceptions visible instead of treating an amount match as proof.
This fictional Saudi company reconciles one SAR bank account for September 2026. Both sources start at SAR 100,000. The ledger records receipts R01 40,000 and R02 12,500, and payments P01 23,000, P02 8,000, and P03 4,200. Its closing balance is SAR 117,300. The bank shows R01, P01, P02, and fee F01 300, closing at SAR 108,700.
Prepare two source tables
Export the ledger and bank statement through approved company procedures. Remove full account numbers and unrelated personal details from sharing copies. Preserve source files and use actual transaction rows rather than screenshots.
Create Excel tables named Ledger and Bank with SourceRowID, Date, Reference, Currency, and Amount. Express cash receipts as positive and payments as negative on both sides; do not assume bank debit labels use the ledger’s convention. Keep the opening balance outside the transaction table. Verify five ledger rows and four bank rows before matching.
Ask ChatGPT to produce a reviewable workbook
Upload the sanitized tables and give this prompt:
Build an Excel reconciliation with separate source, candidate-match, exception, and summary sheets. Keep source rows unchanged. Use reference, signed amount, and currency to propose matches; check uniqueness on both sides and show dates for review. Do not match on amount alone, net multiple items, or invent references. Return formulas, matched row IDs, unmatched rows, and a balance bridge. Treat this as a draft for accountant approval.
In this case, R01, P01, and P02 are three candidate pairs. R02 and P03 remain ledger exceptions; F01 remains a bank exception.
This exercise starts with a bank file and a ledger file. If your workbook is already open in Excel, the Codex guide shows how to connect to that workbook and set limits on the edits.
Review the matching logic in Excel
A candidate count for each Ledger row can use =COUNTIFS(Bank[Reference],[@Reference],Bank[Amount],[@Amount],Bank[Currency],[@Currency]). Require a count of one and check the reverse count as well. A repeated key goes to review even when XLOOKUP returns a value.
Microsoft’s XLOOKUP documentation explains that it returns the first match and is unavailable in Excel 2016 and 2019. Its SUMIFS documentation explains conditional totals. Use these pages to inspect the generated formulas, not to justify the accounting conclusion. Recalculate the downloaded workbook in your own Excel version.
Prove the balance independently
Check the source arithmetic with a calculator: ledger 100,000 + 40,000 + 12,500 − 23,000 − 8,000 − 4,200 = 117,300. Bank 100,000 + 40,000 − 23,000 − 8,000 − 300 = 108,700.
Assume supporting evidence confirms R02 as a deposit in transit and P03 as an outstanding payment.
- Adjusted bank: 108,700 + 12,500 − 4,200 = SAR 117,000.
- Adjusted ledger: 117,300 − 300 = SAR 117,000.
- Independent difference: zero.
Prepare the fee entry and track the timing differences
After confirming the charge and applicable tax treatment, the example’s SAR 300 fee requires a draft debit to bank-fee expense and credit to bank cash; assume no recoverable tax in this simplified case. The two timing items do not require duplicate ledger entries.
The exact expected result is three matched pairs, two documented timing items, one fee adjustment, and equal adjusted balances of SAR 117,000. Obtain reviewer approval before posting, retain the reconciliation, and check the timing items against subsequent bank activity.
Sources
- OpenAI: Data analysis with ChatGPT (new tab)
- Microsoft: XLOOKUP function (new tab)
- Microsoft: SUMIFS function (new tab)
- OpenAI — Using ChatGPT for accounting work (new tab)
- ICAEW — 20 principles for good spreadsheet practice (new tab)
Sources checked ·
