Skip to main content
Back to Articles

Automated Bank Reconciliation: Matching Rules in Excel

Automate bank statement reconciliation with matching rules: exact amount, a short date window and a shared reference. Excel formulas and review steps.

Bank and ledger transaction lists connected by matching lines and green reconciliation checkmarks.

Save hours every week

Turn your bank statements (PDF) into Excel, CSV or OFX, without manual retyping.

Try it now

To automate bank statement reconciliation, let a rule pair each bank line with one ledger entry that has the same signed amount, a date inside a short window and, when the dates differ, the same reference or payee. Every line without exactly one candidate goes to an exception list that a person reviews before any correction is posted.

That rule is what QuickBooks Online, Xero, an Excel workbook and BankStatementLab all apply in some form; they differ in how wide the date window is and in what they do when two candidates look equally good. This guide sets out the rules, shows a formula version you can build in Excel, and explains which steps stay manual.

If your bank activity is only available as PDF statements, get the rows out first: a bank statement converter that reads PDF statements turns each statement into dated, signed transactions, and you can convert a bank statement PDF to Excel to run the spreadsheet match below. On the Starter, Pro and Business plans, BankStatementLab can also compare those extracted statements with your ledger export and list proposed matches for your approval; the bank reconciliation software page shows an example report and the supported input formats.

Start with the bank’s native feed or structured download when it is complete and suitable. Convert a PDF only when the statement is the available source—for example, a historical period, a client-supplied document, an unsupported institution, or a gap in a feed. PDF extraction enables automation, but it does not remove the need to validate the data or review exceptions.

Bookkeeper automating bank reconciliation by matching bank statement lines against ledger entries

What Bank Reconciliation Actually Confirms

Reconciliation compares the bank’s record with the cash account in the ledger for the same account and cutoff date. Differences can be legitimate or erroneous:

  • deposits in transit and outstanding payments;
  • bank fees or interest not yet recorded;
  • duplicated, omitted, or misdated entries;
  • transfers posted to the wrong account;
  • card settlements grouped differently from invoices;
  • foreign-exchange differences;
  • unauthorized or unexpected transactions.

Automation should reduce repeated searches for candidate matches. It should not force a match merely to make the exception queue disappear.

A complete reconciliation leaves evidence of:

  1. the source statement or feed period;
  2. the ledger balance at the same cutoff;
  3. matched bank and ledger items;
  4. outstanding items and approved adjustments;
  5. the final reconciled balance;
  6. who prepared and reviewed the work.

The Matching Rules Behind Automated Reconciliation

Automated bank statement reconciliation is a set of matching rules applied in a fixed order. The amount must agree to the cent and in the same direction. The dates must fall inside a window you choose. When the dates are not identical, a second piece of evidence, such as a check number, invoice reference or payee, should agree too. Finally, the candidate must be unique on both sides, or the pair is left for review.

RuleWhat it checksTypical settingWhat it misses
Signed amountSame value and direction (money in vs. money out)Exact, no roundingFees deducted from a payout, partial payments
Date windowBank posting date vs. ledger dateSame day, or a few days when a reference agreesChecks cashed weeks later, deposits in transit at month-end
Reference or payeeCheck number, invoice number, normalized descriptionIdentical after removing case, spaces and punctuationBanks that truncate or rewrite descriptions
UniquenessExactly one candidate in each directionRequiredTwo identical payments on the same day
GroupingOne bank line against several ledger linesUsually not automaticCard batches, combined deposits

The wider the date window, the more candidates each line has, and the more often two of them tie. A practical policy is to accept same-day, same-amount pairs, allow a short window only when a reference also agrees, and send everything else to review. An ambiguous line is not an error; it simply needs a person to read the supporting document.

What QuickBooks Online and Xero automate

Both packages match bank-feed lines to records already in the books, then leave the final decision to you.

  • QuickBooks Online suggests a match when an existing record has the same amount and a date from 90 days before to 20 days after the bank transaction. Intuit lists the cases where no suggestion appears: fees or discounts that change the total, several payments deposited as one group, a record outside the window, and a record that is already reconciled. You review the suggestion, then post it or choose Find other match.
  • QuickBooks Online bank rules categorize recurring lines rather than matching them to existing records. A rule can combine up to five conditions on Description, Bank text or Amount, and a rule with auto-post turned on accepts the matching transactions without review.
  • Xero can reconcile statement lines automatically on its Growing plan and above, when it is highly confident; otherwise it suggests a match for you to confirm. Each reconciled line carries a label, Rule, Match, Memory, Prediction or Manual, so you can see why it was reconciled.

Both rely on a bank feed or an imported file. QuickBooks Online can read a PDF statement upload; Xero imports PDF statements only for organizations in the US and Canada, so in the UK and other regions a PDF period has to become a CSV first. Our manual bank-statement import guide covers that import, and the bank statement to CSV page covers the conversion.

Where BankStatementLab fits

BankStatementLab is not a bank feed and does not post entries to QuickBooks or Xero. Its reconciliation report compares statements you have already extracted with an export from your books and applies stricter rules than a wide date window: the same currency and signed amount, then either the same date, or a gap of up to three days with an identical normalized reference or description. A pair is proposed only when it is unique in both directions, and no proposal is approved without you.

Choose the Best Bank Data Source

Use this order of preference unless your control framework requires something else:

SourceWhen it fitsMain control
Direct bank feedCurrent recurring workflow with a supported, stable connectionMonitor disconnects, duplicates, and start dates
Native structured downloadBank offers CSV, OFX, QFX, QIF, CAMT, or another accepted formatConfirm period, fields, and import mapping
Official PDF statementHistorical, archived, client-supplied, or feed-gap workflowExtract, validate, and retain the source as evidence
Manual entryExceptional unreadable or low-volume caseIndependent review and control totals

A PDF is not automatically the only or best source. Nor is a feed automatically complete. Reconcile source counts and periods before matching anything.

Match the bank and accounting rows in BankStatementLab

Use Bank reconciliation in My Documents once you have checked the extracted statements. The feature is available on the Starter, Pro and Business plans; on other accounts its actions are locked, while reports created earlier stay viewable and exportable.

  1. Extract and check the bank statements. Compare dates, signs, amounts and every extracted table with the originals.
  2. Open My Documents → Bank reconciliation. Upload the accounting export as XLSX, XLS or CSV; FEC/TXT and an accounting PDF are also supported. PDF extraction is a separate, credit-consuming step.
  3. In Review, check the preview and currency. Open Advanced settings when you need to change the sheet, header, column mapping, date format, amount format or optional account filter.
  4. Use Choose statements to select the already extracted bank statements for the same account and currency. A report supports 1–50 statements and up to 10,000 rows on each side.
  5. Run the preview, correct any reported input problems, then create the report. Read Suggestions, Validated, Bank only and Accounting only separately.
  6. Review the proposals, approve them individually or choose Validate all and confirm. You can undo an individual validation later. Download the full report as Excel, CSV or PDF.

Every accounting row is included by default. If the export covers several ledger accounts, choose the relevant account in the optional filter or prepare a scoped export. All rows in the selected bank statements are included: the wizard does not apply a date-range filter.

Reading a structured accounting file and creating the reconciliation use no additional credits. Extracting a bank or accounting PDF uses the applicable extraction credits; the accounting-PDF step displays one credit per page with standard extraction before you proceed. Review pricing and the privacy policy.

Know which matches the feature can propose

A proposal pairs one bank row with one accounting row, using the same currency and signed amount. Complete dates can match on the same date; a gap of up to three days also requires an identical normalized reference or description. A candidate must be unique in both directions.

CaseExpected treatmentReview needed
Same signed amount and date, one candidate on both sidesProposed matchConfirm the source evidence and account
Same reference and amount, two-day date gapPossible proposed matchCheck that the timing is plausible
Several equally eligible rowsUnmatched ambiguityIdentify the actual payments rather than deleting duplicates
Day and month without a yearTextual evidence and exact day/month requiredRead the year-unverified warning
Several invoices behind one net paymentNo automatic groupingPrepare the settlement explanation separately

No proposal is approved automatically. The report does not post corrections, convert currencies or certify an adjusted closing balance. It stores the selected data and your decisions; it does not continually synchronize changes from your books. To bring in next month’s statement, use Add documents on the existing report: earlier proposals and validations stay as they are, and only the still-unmatched rows are compared again. Create a new report when you need to compare a corrected accounting export.

Prepare inputs that make the first comparison useful

Choose one bank account and currency. Gather the accounting export and all statements covering the activity you want to check, including adjacent statements if a payment crosses the cutoff. Keep the previous reconciliation and outstanding-item list beside them. The selected files define the scope: BankStatementLab does not trim bank rows to a date window.

Check the extracted statements

Inspect every table and compare dates, amounts, signs and descriptions with the original. Distinguish transaction dates from value dates and transaction amounts from running balances. A high-level balance check is useful, but two extraction mistakes could cancel each other out.

The application accepts bank PDFs and JPEG, PNG or WebP images for extraction. For the detailed preparation steps, use the bank statement PDF-to-Excel guide. You do not need to export and reimport bank rows to use them in the reconciliation feature: choose the existing extraction.

Export accounting values, not formulas

Prepare date, description, signed amount or debit/credit columns, and any usable reference. Include the account column if you intend to filter a multi-account ledger. Export values only: formula-containing spreadsheets are rejected. Structured files are limited to 10 MB, 20 sheets, 250 columns and 10,000 data rows per sheet; the selected data must also fit the report’s 10,000-row-per-side limit.

Check the sign convention and currency in Review. A debit in a bank statement and a debit in a bank-account ledger normally mean different directions. The advanced settings let you identify the convention rather than changing genuine payments to fit a match.

Keep the final accounting proof

Use the report’s unmatched views with the bank reconciliation error checklist. Assign unresolved items to a reviewer, retain evidence for timing differences and post only supported corrections in the books. Finish with the adjusted-balance proof below; a validated match is not a complete month-end sign-off.

Bank Reconciliation Example: Prove the Adjusted Balances

In this fictional example, all amounts are USD and the bank account has a positive balance. The statement closes at $8,450.00; the cash ledger closes at $8,820.00 before corrections. The review finds a $600.00 deposit in transit, a $250.00 outstanding payment, and a $20.00 bank fee missing from the books.

ItemBank sideBook side
Closing balance before reconciliation8,450.008,820.00
Deposit recorded in books, not yet credited by bank+600.00—
Payment recorded in books, not yet debited by bank−250.00—
Bank fee not yet recorded in books—−20.00
Adjusted balance8,800.008,800.00

Only the missing fee needs a new accounting entry in this example. The deposit and payment are already recorded; carry them as outstanding items and check that they clear on a later statement. Do not post them again.

The raw bank and ledger balances may differ while the adjusted balances agree. BSL separates unmatched bank and accounting entries to support this investigation. The adjusted-balance proof remains an accounting workpaper, not a calculation performed by the reconciliation report. Equal totals still do not prove that every individual match is correct.

Reconciliation in Excel or Google Sheets

A spreadsheet can support a controlled low-volume or one-off process. Keep the bank and ledger tables separate and give each row a stable local ID.

Do not use a date-only VLOOKUP

Looking up the date and returning an amount will produce false matches when several transactions share a day. Even date plus amount can be ambiguous.

A safer spreadsheet workflow:

  1. standardize dates, signs, currencies, and account identifiers;
  2. create candidate keys from amount, direction, and date;
  3. count candidates on each side;
  4. auto-label only one-to-one exact candidates;
  5. send duplicates and near-date candidates to a review table;
  6. record the approved bank-row ID and ledger-row ID;
  7. prevent the same row from being used twice.

Count candidates, then look up with XLOOKUP

Put the bank rows in an Excel table named Bank and the ledger rows in a table named Ledger, each with ID, Date, Amount (signed, money out negative) and Ref columns. The sample data below is fictional.

Bank IDDateAmountRefCandidatesStatus
B1Oct 2, 2026−1,240.00CHK 10471Proposed: L7
B2Oct 3, 2026−125.00ACH UTILITY2Ambiguous
B3Oct 6, 20263,500.00INV-22101Proposed: L9
B4Oct 8, 2026−20.00SERVICE FEE0Bank only
  1. In Bank, add a Candidates column that counts ledger rows with the same amount and the same reference within three days: =COUNTIFS(Ledger[Amount],[@Amount],Ledger[Ref],[@Ref],Ledger[Date],">="&([@Date]-3),Ledger[Date],"<="&([@Date]+3))
  2. Add a Match ID column that returns the ledger ID only when there is exactly one candidate: =IF([@Candidates]=1,XLOOKUP(1,(Ledger[Amount]=[@Amount])*(Ledger[Ref]=[@Ref])*(ABS(Ledger[Date]-[@Date])<=3),Ledger[ID]),"")
  3. Build the same Candidates count in Ledger, pointing at Bank. Treat a pair as proposed only when both rows count exactly one candidate.
  4. Label the rest: 0 candidates is Bank only or Ledger only; 2 or more is Ambiguous and goes to the review table.

Count before you look up: XLOOKUP returns the first match it finds, so on its own it would silently pick one of two identical payments. Microsoft lists XLOOKUP for Excel for Microsoft 365, Excel 2021 and Excel 2024; in older versions, use INDEX and MATCH with the same count check. References are rarely identical between a bank and a ledger, so clean them first (remove spaces and prefixes such as “CHK”) or match on amount and same date only, without a date window.

Excel Power Query can merge tables and produce left anti-joins for unmatched rows. Microsoft documents the current Merge queries workflow. Use an exact join for safe keys and a separate exception step for ambiguous cases. Check uniqueness on both sides before expanding joined rows: duplicate keys can multiply rows and create false matches.

For example, suppose the bank has two outgoing payments of 125.00 on the same day, while the ledger has two invoices for 125.00. Joining only on date and amount can produce four candidate pairs. That does not mean four transactions occurred. Keep all four as candidates until references establish two separate matches; do not expand the join and sum its amounts as reconciled cash.

Run the unmatched query in both directions: bank rows absent from the ledger candidates and ledger rows absent from the bank candidates. A left anti-join alone only answers the first question. Outstanding payments often appear on the other side.

Avoid formulas that scan whole columns inside every row in a large workbook; use Excel tables, Power Query, or bounded ranges. Protect source sheets and keep an approval log.

Use the reviewed report with your accounting software

Use the BSL report to document matches and remaining entries, then record approved fees, interest and corrections in your accounting software. Exporting a report does not create journal entries or synchronize an account.

If the destination also needs bank transactions, follow its separate import template and check for overlapping periods. Our manual bank-statement import guide explains that handoff. Do not upload the reconciliation report as though it were a bank-feed file.

Handle grouped settlements and other exceptions separately

Some genuine relationships do not fit a one-to-one match. A net card payout may contain many sales, processing fees and a reserve adjustment. Explain that bridge in a separate workpaper, then prepare one documented control row per expected payout when appropriate. BSL does not perform many-to-one grouping or offer a custom amount-tolerance rule.

Keep foreign-currency conversion calculations in the accounting workpaper. A report uses one currency; the feature does not turn two different-currency amounts into a match.

For payments to your own issuer, use the credit card payment reconciliation workflow. For merchant receipts, see how to reconcile card settlements with bank statements. Their supporting records explain the payment before the bank-to-accounting comparison begins.

Prevent Duplicate Imports

Duplicate prevention belongs before and after import:

  • track source account and statement period;
  • preserve bank references where available;
  • flag repeated raw-field fingerprints for review, while retaining separate IDs for legitimate identical payments;
  • compare the incoming range with already imported dates;
  • inspect platform duplicate warnings;
  • never rely on description alone;
  • retain an import log with filename, checksum, date range, and row count.

A retry after a failed import can be more dangerous than the initial import if it inserts the successful subset twice.

Data Security and Retention

Bank statements contain personal and financial information. Restrict access to source and working files, use encrypted transfer and storage, document subprocessors, and delete temporary copies under a defined schedule.

Keep your own source statements and approved reconciliation records. Review BankStatementLab’s privacy policy and the deletion settings available for your workflow. Source files are never stored on our servers. Do not use a conversion service as your only archive.

Review the complete security checklist for online statement converters. These controls do not replace your organization’s legal or client-data obligations.

Measure Automation Honestly

Measure a pilot against the existing process:

  • preparation time;
  • extraction and validation time;
  • number of proposed matches confirmed in review;
  • number and age of exceptions;
  • false-match rate discovered in review;
  • rework and duplicate imports;
  • days to close;
  • reviewer time.

Do not set a universal transaction threshold for “use Excel” versus “use accounting software.” Complexity, grouping, currencies, controls, staff skill, and audit needs matter more than row count alone.

Include the conversion cost in your pilot, using the current page-based charges on the pricing page.

Start with a report you can review

Choose one account, gather the bank PDFs and the accounting export, then use Bank reconciliation in My Documents. Check the suggestions, investigate the two unmatched views and export the full report for the reviewer. Keep the source documents and the final balance workpaper together.

See pricing for extraction costs and the privacy policy for data handling.

Create my bank reconciliation

Reconciliation report with validated matches, suggestions to review, and rows found only on the bank or accounting side

Frequently asked questions

Does BankStatementLab perform bank reconciliation?

Yes. BankStatementLab compares previously extracted bank statements with an accounting export, proposes one-to-one matches and shows unmatched rows. You review and validate proposals individually or in bulk, then export Excel, CSV or PDF. It does not change source entries or post accounting adjustments.

Can I use several statements and a CSV ledger?

Yes. Import an accounting XLSX, XLS or CSV file and select 1–50 already extracted statements for the same account and currency. Each side is limited to 10,000 rows. All accounting rows are included unless you apply the optional account filter.

Which plans include bank reconciliation?

Bank reconciliation is included in the Starter, Pro and Business plans ($9, $29 or $59 a month; £7, £24 or £49 in the UK). On an account without one of these plans, the reconciliation actions are locked. Existing reports stay viewable and exportable.

Does reconciliation use extra credits?

Reading a structured accounting file and creating the reconciliation use no additional credits. Extracting a bank or accounting PDF uses the applicable extraction credits. The accounting-PDF step displays its cost before you proceed.

What rules does automated bank statement reconciliation use?

Most tools start with the same signed amount, then add a date window and a reference or payee check. QuickBooks Online suggests records with the same amount from 90 days before to 20 days after the bank date. BankStatementLab proposes a match on the same date and amount, or within three days when the reference or description is identical, and only when the pair is unique.

Does Validate all approve ambiguous rows?

No. After your review and confirmation, Validate all approves the existing proposed matches. Unmatched and ambiguous rows remain for investigation. Each validation can be undone individually.

Does the report prove the adjusted closing balance?

No. It records proposed and validated matches plus unmatched entries. You still explain timing differences, approve accounting corrections and prove adjusted balances in your accounting records.

---
🎁 5 credits on signup, then 5/month
💎 1 credit = 1 page

Ready to simplify your accounting?

Eliminate manual entry and focus on analysis and advisory.

Try BankStatementLab