Guide · Excel finance automation
Short answer
Point Power Query at a folder of monthly exports, write the cleanup steps once, match the sources with merges, and send anything unmatched to its own exceptions table. Next month you drop in the new files and press Refresh All.
Most monthly reconciliations start the same way. Someone exports receivables, cash receipts and a ledger report, pastes them into a workbook, fixes the dates, trims the columns and starts matching with lookups and filters. The logic lives in the order of those steps and in the head of the person doing them.
That is where the errors come from. A row gets pasted twice, a date imports as text, a filter is left on from last month. None of these are hard problems. They are repetition problems, and Power Query is built for repetition.
Create a folder per source, for example AR, Receipts and GL, and save each month's export there with the period in the file name. Keep the exports untouched. The workbook should never depend on someone editing a raw file by hand.
In Excel, use Data, Get Data, From File, From Folder and choose Combine and Transform. Power Query appends every file in the folder into one table and adds the file name as a column, which tells you which period each row came from.
Every cleanup step you take in the Power Query editor is recorded in the Applied Steps pane and replayed on every refresh. Typical steps for a finance export:
INV-1042 and INV-1042 match.Name each step in plain language. "Removed report footer" is far easier to review than "Removed Bottom Rows1".
A merge in Power Query is a join between two tables. For a reconciliation, run the strictest match first: same reference and same amount. Then take only what is still unmatched into a second, looser pass, for example same customer and same amount within a few days.
Two join types do most of the work:
Running passes in order matters. A broad rule run first produces matches that look right and are not, and nobody goes looking for them. Running the strict rule first means each later pass only sees what genuinely needs a looser rule.
Anything that survives every pass goes to an exceptions table with the rule it failed and the source rows. Do not force it into a match. A short list of real exceptions with reasons is the point of the whole exercise.
Before the output is used, the workbook should prove it read everything. At minimum, compare the row count and total of each source with the original export and with the ledger balance. If they do not agree, the run should be marked as needing review rather than presented as clean. The seven checks guide covers this in detail.
Save the new exports into the folders and use Data, Refresh All. The same steps run in the same order. The time saved is real, but the bigger gain is that the result is the same no matter who runs it.
Power Query is the right default for combining, cleaning and matching. It is weaker at row by row decisions with complex conditions, at writing results back into a formatted template, and at very large volumes. Those cases may need a script. The tool comparison explains how to choose.
To see the full pattern working on synthetic data, try the Excel workflow demo.
Published 18 October 2026
General educational information only. Not accounting, tax, audit or legal advice. MatchPass Labs provides workflow automation and is not an accounting firm.
Common questions
Describe it in a few sentences. No files or preparation needed. If it is not worth automating, we will say so.