If you receive a new Excel report every month, copying rows into a master workbook is a fragile routine. One overlooked file, renamed column or duplicated row can change your totals without an obvious warning. A folder-based Power Query workflow can replace much of the repetitive work.

Start with a consistent input format

Create a dedicated folder, such as Monthly Reports. Put only the reports you intend to consolidate in that folder. For a practice example, use January.xlsx and February.xlsx, each containing a table named Sales with columns Date, Region, OrderID and Amount.

Keep your master workbook outside that folder. Otherwise, the import may include its own output. Use consistent column names and data types, and store archived versions separately.

Connect the folder to Excel

In a supported Windows desktop version of Excel, open your master workbook and navigate to Data, Get Data, From File, then From Folder. Select the reports folder. Inspect the file list before combining anything.

Use the combine and transform option to choose a representative file and its intended table. Power Query creates the transformations needed to process the selected files. Microsoft explains the supported procedure in its folder import documentation. Menu labels and availability can vary by platform and version.

Design checks before loading

Keep the source filename in your combined dataset where practical, so a suspicious row can be traced back to its origin. Set explicit types for dates and amounts. Exclude temporary files, unrelated workbooks and subtotal rows that would otherwise be counted twice.

For the sample, if January has 40 rows and February has 60, expect 100 data rows before applying intentional exclusions. Compare that result with the input files. Check totals separately for each month and investigate discrepancies instead of silently removing errors.

Refresh next month

Once the query is ready, load its results into a worksheet or the data model. Add March.xlsx with the same table structure, then use Refresh All. Check the row count, new month and totals before sending the report.

Refresh is not the same as guaranteed unattended scheduling. A moved folder, permissions change or inconsistent source file may stop the query from working.

Troubleshooting checklist

If a month is missing, inspect the file filter and the sample-file selection. If numbers appear as text, check the conversion step and locale. If totals are too high, look for duplicate order IDs or repeated input files. If a column is missing, compare the source header with the expected schema.

For shared reporting, assign one owner to manage input files and one person to review exceptions. The best automation is one whose mistakes are easy to find.

References and scope

See Microsoft’s overview of Power Query and its guide to data source errors. This walkthrough is based on documentation and a hypothetical dataset; it has not been independently executed in Excel. Explore more practical guides.

If you use an AI assistant alongside reporting automation, consider our guide to separating document content from instructions.