Power Query Problems

Combine Excel Sheets into One Master List with Power Query

Steve KSteve K Dec 2, 2026 869 views

Question details

Combine records from multiple Excel sheets into one master list that can be updated when imported data changes.

Combine Excel Sheets into One Master List with Power Query
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.
Before you start

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.

Solution 1Recommended

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.

1
Create source tables

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.

2
Create a blank query

In Excel, select Data > Get Data > From Other Sources > Blank Query. Menu names may vary by Excel version.

3
Combine the tables

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.

4
Load the master list

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_.

5
Refresh after updates

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.

Combine Source Tables in the Current Workbook with Power Query
Keep headers consistent: Power Query combines columns by header name. Different header names can create separate columns, so standardize them before refreshing. If the importing application replaces the tables, recreate or restore them before refreshing.
Free Microsoft Office alternative

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.

Review and edit combined spreadsheet records in WPS SpreadsheetsOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interface with common editing toolsMove compatible spreadsheet files between WPS Office and Microsoft Office
microsoft office alternative - wps office

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.