Combine Excel Sheets into One Master List with Power Query
Question details
Combine records from multiple Excel sheets into one master list that can be updated when imported data changes.

- Product
- Microsoft Excel Power Query
- Device & OS
- not provided
- Scenario
- Another application imports a variable number of records into multiple sheets, and the user wants a consolidated list.
- Observed behavior
- The desired result is one master sheet containing the records from the source sheets, with a way to refresh the combined data.
Check that the source sheets use consistent column headers and that the data starts in a predictable location. Confirm whether the application updates existing sheets or creates new sheets or workbooks, since that affects how the sources are selected.
Combine Source Tables in the Current Workbook with Power Query
Use this method when the source sheets are in the same workbook and can be formatted as Excel tables.
The query combines tables whose names start with Src_. It can include newly added source tables on refresh, but it does not automatically detect unformatted sheet ranges.
On each source sheet, select the data and choose Insert > Table. Confirm that the table has headers, then use Table Design > Table Name to give each table a unique name beginning with Src_, such as Src_Sales.
In Excel, select Data > Get Data > From Other Sources > Blank Query. Menu names may vary by Excel version.
In Power Query Editor, open Home > Advanced Editor. Replace the existing code with: let Source = Excel.CurrentWorkbook(), Sources = Table.SelectRows(Source, each Text.StartsWith([Name], "Src_")), Combined = Table.Combine(Sources[Content]) in Combined. Select Done.
Check the preview, then select Home > Close & Load to place the combined results on a worksheet. Make sure the output table name does not begin with Src_.
After source records change, select Data > Refresh All. For a new source sheet, first format its data as a table and give it a unique Src_ name.

Append Queries from Another Workbook or Folder
Use this approach when the application creates separate workbooks rather than updating tables in the master workbook.
Review and Edit Consolidated Spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files to review or edit a master list as you move between office suites; it does not fix Excel Power Query issues.

Frequently Asked Questions
Will the master list include new rows automatically?
New rows included in a source Excel table appear after you select Data > Refresh All. Check that the imported rows are inside the table before refreshing.
Can Power Query include a newly created sheet?
With the current-workbook method, format the new sheet's data using Insert > Table, name the table with the Src_ prefix, and select Data > Refresh All. A new sheet alone is not included by that query.
What happens if the source sheets have different column names?
Power Query matches columns by header name, so differently named headers can appear as separate columns. Rename the headers consistently in the source tables or in Power Query Editor before combining them.
Should I use a workbook or folder connection?
Use Data > Get Data > From File > From Workbook for a separate source workbook. Use From Folder when the application creates multiple similarly structured workbooks in one folder.




