Automation in accounting is rarely a robot. Usually it is a query that cleans next month’s file the same way as this month’s, a macro that formats the report pack, or a small flow that files fifty bank statements into the right folders. The skill is choosing the simplest tool that does the job, and keeping it under control.
Pick the right tool
| Tool | Best for | Cost | Skill needed |
|---|---|---|---|
| Excel Tables and formulas | Calculations inside one workbook | You have it | Low |
| Power Query (in Excel and Power BI) | Cleaning, combining and reshaping data that arrives every month | Built into Excel for Windows | Low to medium |
| VBA macros | Button-press steps inside a workbook: layouts, formats, printing | Built into desktop Excel | Medium |
| Power Automate for desktop | Repeated clicks across apps and folders: rename, move, copy, download | Free on Windows for your own attended flows | Medium |
| Python | Large, messy or rule-heavy jobs, and audit tests | Free | Medium to high |
The order matters. Most accountants get the biggest gain from Power Query alone, and never need the rest for routine work.
Power Query: combine monthly files in one refresh
- Put every monthly file in one folder, all with the same layout.
- In Excel: Data › Get Data › From File › From Folder, pick the folder, then Combine › Combine & Transform Data.
- Choose a sample file. Power Query builds the cleaning steps from it and applies them to every file.
- In the editor: filter out total and blank rows, set the Date and Amount types, trim text. Each step is recorded on the right.
- Close & Load to a table or a PivotTable.
- Next month: drop the new file in the folder, then Data › Refresh All.
Power Automate for desktop: free on Windows
Power Automate for desktop records and replays work across apps: open a file, copy cells, rename, move, click through a screen. On Windows 11 it is in the Start menu; on Windows 10 it is a free download. Microsoft’s licensing pages say you can build and run your own attended desktop flows at no extra cost; sharing flows, cloud flows and unattended runs need other licences.
Good first flows for a finance team:
- Rename fifty downloaded bank statements as “Bank-Branch-Month” and move each into its folder.
- Open each branch’s workbook, copy the summary block, and paste it into a consolidation sheet.
- Save the month-end report pack as PDFs with the right names.
Automate only systems and websites you are allowed to automate, and test on copies first.
What to automate first
Score each monthly task on four things: how often it runs, how long it takes, whether it follows fixed rules, and whether the input arrives in the same format each time. Start with the task that scores high on all four. Typical candidates:
- Bank reconciliation preparation: loading statements and matching the easy items.
- Intercompany balance matching.
- Accrual and prepayment schedules.
- VAT and TDS working papers built from sales and payment registers.
- Refreshing the management pack.
Controls your auditor will accept
- Document it: purpose, inputs, steps, outputs and owner, on one page.
- Run it in parallel with the manual method for at least one month, and agree the results.
- A control total on every run: rows in, rows out, and the amount, agreed to the source.
- Version it: keep each change with a date and a reason; protect the final file.
- Two people know it. An automation only one person understands is a risk, not a saving.
AI can write the query, the macro or the script
Describe the steps and the columns, and AI will draft Power Query M, a VBA macro or a Python script. Our tests show why the checks above matter: see the bank reconciliation in one sentence and invoices to Excel results before you trust an AI with a month-end job.