- Bank reconciliation compares the bank statement with account 5141 in the general ledger to explain the difference between the two balances.
- With COUNTIF, you test whether each statement amount appears in the accounting records (and vice versa); unmatched lines are the items to investigate.
- For repeated identical amounts, COUNTIFS adds the date or description as an extra criterion.
- At the end, the bank statement balance adjusted for outstanding items must equal the adjusted accounting balance.
Bank reconciliation is one of the most useful controls in accounting: it detects omissions, errors and suspicious transactions. Without dedicated matching software, Excel handles the job very well. Here is a five-step method, complete with formulas and illustrations for each stage.
The principle
The bank statement and account 5141 in the accounts describe the same movements, though not necessarily at the same time. Reconciliation:
- matches common lines;
- isolates lines present on one side only;
- classifies them: outstanding items (which will clear on their own) or discrepancies to adjust (an entry to post or an error to correct);
- checks that the adjusted balances agree.
Step 1: prepare the two lists
Copy the bank statement (CSV or converted PDF) into columns A to C: Date, Description, Amount (debits as negative, credits as positive). Copy account 5141 from the general ledger into columns F to H using the same sign convention: cash receipts positive, cash payments negative. Sign consistency is essential.
Check that the amounts are stored as numbers (right-aligned). Amounts imported with non-breaking spaces or commas/dots mismatched as decimal separators are treated as text: fix them via Data > Text to Columns or =VALUE(SUBSTITUTE(C2," ","")).
Step 2: match the bank statement against the accounts
In D2 (status on the bank side):
=IF(COUNTIF($H$2:$H$6,C2)>0,"Matched","To investigate")
The formula counts how many times the amount in C2 appears in the accounting amounts column. If it appears at least once, the line is marked “Matched”. Copy the formula down.
Step 3: match the accounts against the bank statement
In I2 (status on the books side), the symmetrical formula:
=IF(COUNTIF($C$2:$C$7,H2)>0,"Matched","Outstanding")
Figure 1: marker 1 shows the Status column; marker 2 the statement lines without an accounting entry; marker 3 an issued cheque not yet debited. (Note: the screenshot shows the French-language Excel interface using
SI, NB.SI, and ; separators, while the formulas in the text use English Excel syntax.)
Step 4: interpret the discrepancies
| Status | Where | Meaning | Action |
|---|---|---|---|
| To investigate (statement) | Bank charges -310; loan interest -1,250 | Unrecorded bank transaction | Post the entry: 6147 / 6311 against 5141 |
| Outstanding (books) | Cheque 1051 for -7,800 issued on 28/12 | Cheque not yet presented for payment | No entry; monitor on the next statement |
Journal entries for the example:
| Account | Debit | Credit |
|---|---|---|
| 6147 Bank charges | 310 | |
| 6311 Interest on loans and borrowings | 1,250 | |
| 5141 Banks | 1,560 |
Step 5: the bank reconciliation statement
Build the control summary table:
| Line | Calculation | Example (MAD) |
|---|---|---|
| Bank statement balance as at 31/12 | Bank figure | 40,000.00 |
| - Issued cheques not yet debited | -7,800 | -7,800.00 |
| Adjusted bank balance | 32,200.00 | |
| Accounting balance 5141 before adjustment | General ledger | 33,760.00 |
| - Bank charges | -310 | -310.00 |
| - Loan interest | -1,250 | -1,250.00 |
| Adjusted accounting balance | 32,200.00 | |
| Difference | = 0 | 0.00 |
A control formula: =IF(ROUND(B7-B12,2)=0,"Reconciled","Discrepancy to investigate").
When amounts repeat
If two identical payments of MAD 5,000 occur in the same month, COUNTIF may mark two lines as matched based on a single correspondence. Two workarounds:
- Add the date:
=IF(COUNTIFS($H$2:$H$6,C2,$F$2:$F$6,A2)>0,"Matched","To investigate"). - Number the matches: add a “Rank” column with
=COUNTIF($C$2:C2,C2)(a cumulative occurrence counter) and match on the amount + rank pair.
Retrieve the description with XLOOKUP
To help understand a line marked “To investigate”, you can search for the same amount (or absolute value) in the accounting records:
=XLOOKUP(C5,$H$2:$H$6,$G$2:$G$6,"Not found")
The function returns the description matching the amount, or “Not found”. If you are using a version of Excel without XLOOKUP (prior to 2021), use =IFERROR(INDEX($G$2:$G$6,MATCH(C5,$H$2:$H$6,0)),"Not found").
Highlight items with conditional formatting
Select D2:D7 and I2:I6, go to Home > Conditional Formatting > Highlight Cells Rules > Text that Contains: highlight “investigate” in red and “Outstanding” in orange. Anomalies stand out immediately (see automatic alerts).
A complete, worked bank reconciliation statement
Below is the status of a bank account at month-end (in MAD). The differences stem from transactions recorded on one side only:
| Item | Amount |
|---|---|
| Bank statement balance | 485,200 |
| + Deposits recorded in the books, not yet credited by the bank | + 15,000 |
| - Cheques issued, not yet debited by the bank | - 32,000 |
| Adjusted bank balance | 468,200 |
| Accounting balance before adjustment (account 5141) | 469,700 |
| - Bank charges from the statement, not yet booked | - 1,500 |
| Adjusted accounting balance | 468,200 |
| Difference | 0 |
The reconciliation is valid when the two adjusted balances are equal. Items outstanding on the bank side (uncredited deposits, unpresented cheques) require no accounting entry: they will clear automatically on the next statement. Items known to the bank only (fees, unidentified incoming transfer, direct debit) require an adjusting entry:
| Account | Debit | Credit |
|---|---|---|
| 6147 Bank charges (plus VAT on commissions where applicable) | 1,500 | |
| 5141 Banks | 1,500 |
Control formulas
With the bank statement in the “Statement” sheet (column C: amount) and the accounts in “Books” (column C: amount):
| Check | Formula |
|---|---|
| Statement amount found in the books? | =COUNTIF(Books!$C:$C,C2) (0 = to examine) |
| Total unmatched items on the statement side | =SUMIF(F:F,"To examine",C:C) |
| Adjusted bank balance | =C2+SUMIF(H:H,"outstanding deposit",G:G)-SUMIF(H:H,"outstanding cheque",G:G) |
| Final difference | =Adjusted_bank_balance-Adjusted_books_balance (must show 0) |
The most common causes of discrepancies
| Cause | Treatment |
|---|---|
| Issued cheque not yet cashed by the payee | Outstanding; match on the next statement |
| Cheque or bill deposit not yet credited | Outstanding; check the value date |
| Bank charges, commissions and interest on the statement | Adjusting journal entry |
| Unidentified incoming transfer | Suspense account, then allocate to the customer once identified |
| Unauthorised or unknown direct debit | Dispute with the bank; suspense account |
| Data-entry error in the accounts | Correcting journal entry |
| Dishonoured (bounced) cheque | Reversal of the deposit entry; follow up with the customer |
Any discrepancy unexplained after two statements is no longer a timing difference: the finance manager must be alerted.
A complete case with three discrepancies to adjust
The March bank statement shows the following movements (extract). Account 5141 in the books shows its own entries.
| Transaction | Statement | Books | Status |
|---|---|---|---|
| Transfer from customer Atlas | 120,000 | 120,000 | Matched |
| Cheque no. 4521 supplier Rif | -32,000 | -32,000 | Matched |
| Cheque no. 4522 supplier Sahara | -32,000 | Outstanding: not yet debited | |
| Cheque deposit of 29 March | 15,000 | Outstanding: not yet credited | |
| Account maintenance fees | -1,500 | To book | |
| Insurance direct debit | -8,400 | To book (insurance policy) | |
| Incoming transfer without reference | 22,000 | To identify (suspense account) |
Three transactions “known to the bank only” require action:
| Transaction | Entry | Amounts |
|---|---|---|
| Account maintenance fees | Debit 61473 Bank fees and commissions, credit 5141 | 1,500 |
| Insurance direct debit | Debit insurance expense, credit 5141 | 8,400 |
| Incoming transfer without reference | Debit 5141, credit suspense/clearing account pending customer identification | 22,000 |
The adjusted accounting balance becomes: accounting balance before adjustment - 1,500 - 8,400 + 22,000 = adjusted balance. It must equal the adjusted bank balance (statement + outstanding deposit - outstanding cheques). The unidentified transfer will be allocated to the customer after investigation: checking with customers whose due invoice matches the amount, or requesting details from the bank.
Matching with COUNTIFS when amounts repeat
In real accounts, several transactions share the same amount (monthly rent, salaries). To avoid matching the same line twice, cross-check both the amount and the date or reference.
| Requirement | Formula |
|---|---|
| Count accounting lines matching both the statement amount and date | =COUNTIFS(Books[Amount],[@Amount],Books[Date],[@Date]) |
| Count with a 3-day tolerance on the date | =COUNTIFS(Books[Amount],[@Amount],Books[Date],">="&[@Date]-3,Books[Date],"<="&[@Date]+3) |
| Flag duplicates on the bank statement | =COUNTIFS([Amount],[@Amount],[Date],[@Date])>1 |
| Mark as “Matched” | =IF(COUNTIFS(...)>0,"Matched","To examine") |
A “Rank” column (=COUNTIFS($C$2:C2,C2,$B$2:B2,B2)) numbers successive occurrences of the same amount-date pair, ensuring each line is matched only once.
Tracking discrepancies across multiple months
A tracking schedule prevents old discrepancies from building up.
| Month of origin | Nature | Amount | Status | Date cleared |
|---|---|---|---|---|
| January | Issued cheque not yet debited | 18,500 | Cleared in February | 08/02 |
| February | Unidentified transfer | 22,000 | Allocated to customer Rif | 12/03 |
| March | Account maintenance fees | 1,500 | Booked | 31/03 |
| March | Cheque 4522 outstanding | 32,000 | Pending |
Good practice rule: any discrepancy older than 60 days is reviewed by the finance manager. A cheque uncashed for several months may be stale or lost: you should contact the payee, or place a stop payment if necessary.
Compliance of the bank reconciliation statement
The monthly statement must be dated and signed by the preparer and reviewed by an independent person (finance manager or executive). It is archived alongside the bank statement and supporting documents. An unsigned, undated statement carries no evidentiary weight before an auditor. For internal control, the reconciliation should be performed by someone who does not have access to payments (see the article on segregation of duties).
Saving time with Power Query
For statements running to several thousand lines, automate the process:
- Import the bank statement (CSV or Excel) and the general ledger for account 5141 into Power Query.
- Clean: date formats, amounts (decimal separator), and removal of repeated header rows.
- Merge the two queries on amount and date (full outer join) to surface orphan lines on either side.
- Filter the unmatched lines: these are the discrepancies to process.
- Refresh each month simply by replacing the source files.
Once built, the query is reusable: reconciliation time drops from several hours to half an hour. Human judgement is still required to classify each discrepancy, but automated lookup eliminates manual ticking.
Best practices
- Sign and date the reconciliation statement (the person reconciling should not be the person making payments).
- Retain the statement with bank statements (ten-year statutory retention obligation).
- Track outstanding items from one month to the next: a cheque outstanding for more than 6 months is a warning sign.
- Reconcile each bank account separately, including foreign-currency accounts.
- Archive the workbook with the closing date in the file name.
A ready-to-use bank reconciliation template is available in our resources section.
Special cases and edge situations
A transfer is split across multiple lines on the bank statement. Group the statement lines (PivotTable or SUMIFS by reference) before matching against the single accounting entry.
Several accounting entries correspond to a single bank movement. Apply the same logic in reverse: group the accounting entries by voucher and date before comparing.
The statement is in a foreign currency. Match in the foreign currency first (identical amounts), then verify the exchange-rate difference in dirhams by comparing the accounting entry with the day’s equivalent value.
The amount matches but the date is far apart. A date tolerance (±3 to 5 working days) is reasonable for cheques; beyond that, flag the entry for review, as it may conceal a posting timing error or a mistake.
The statement file format varies from one bank to another. Use Power Query with one query per bank to standardise columns (date, description, debit, credit) before matching.
Key takeaways
A reliable bank reconciliation rests on three habits: two-way matching (bank statement to accounts, then accounts to bank statement), a signed and dated reconciliation statement every month, and monitoring discrepancies older than 30 days. Automation with COUNTIFS or Power Query speeds up matching, but human judgement remains essential to qualify every discrepancy.
Summary
Match in both directions, adjust transactions known only to the bank, leave transactions known only to the company as outstanding, sign and date the reconciliation statement, and follow up items older than 30 days: a one-hour monthly routine protects cash control.
Frequently asked questions
Why does a bank statement balance differ from the accounting balance?
Because of items recorded on one side only: issued cheques not yet debited, deposits not yet credited, unrecorded bank charges and interest, unrecorded incoming transfers, or entry errors. Reconciliation identifies them.
What should be done with an unrecorded bank charge?
It must be booked in the accounts: debit 6147 “Bank charges” (Services bancaires), credit 5141, with VAT where applicable. It is a discrepancy to adjust in the books, not an outstanding item.
Do identical amounts cause a problem?
Yes: COUNTIF counts occurrences of an amount, not a one-to-one match. Add the date or voucher number with COUNTIFS, or number matched lines (Matched column = 1) to prevent the same amount from being matched twice.
How often should reconciliation be carried out?
At least once a month, and at year-end closing using both the 31 December statement and the January statement. Monthly reconciliation is a key cash-management control.
Article written from the official texts and the firm’s engagement practice. It shows its publication date and, where applicable, its last review.