Power Query Problems

Combine SharePoint Workbook Summary Sheets in Excel Power Query

Huda QurayshiHuda Qurayshi Dec 2, 2026 868 views

Question details

Combine the summary worksheet from multiple SharePoint workbooks into a main workbook.

Combine SharePoint Workbook Summary Sheets in Excel Power Query
Product
Microsoft Excel Power Query
Device & OS
not provided
Scenario
Several Excel workbooks in a SharePoint folder each contain raw data, PivotTables, and a summary worksheet.
Observed behavior
The desired result is one table containing only the summary worksheet data from each workbook.
Before you start

Confirm that you can access the SharePoint site and that the target workbooks have a consistently named summary sheet with compatible columns. Use Excel Desktop and have the SharePoint site URL ready, rather than a link to an individual file.

Solution 1Recommended

Combine summary worksheets with the SharePoint Folder connector

Use Power Query in Excel Desktop to select the target files and combine the same worksheet from each one.

1
Connect to the site

In Excel Desktop, open the main workbook and select Data > Get Data > From File > From SharePoint Folder. Enter the SharePoint site URL, such as https://COMPANYNAME.sharepoint.com/sites/odms, and sign in if prompted.

2
Filter the file list

Select Transform Data. In Power Query Editor, filter Folder Path to the target folder and use Name or Extension to keep only the intended Excel workbooks. Exclude temporary files whose names begin with ~$.

3
Select the summary sheet

Choose the combine-files button on the Content column. In the Combine Files dialog, select the summary worksheet from the sample workbook and confirm. Power Query applies that selection to the other filtered files.

4
Check and load the results

Review the combined columns and headers in Power Query Editor, then select Home > Close & Load to place the results in the main workbook.

5
Refresh when needed

After source workbooks are updated and saved, select Data > Refresh All in the main workbook to reload the summary data.

Combine summary worksheets with the SharePoint Folder connector
Use consistent, saved source sheets: Each selected workbook should contain the same named summary sheet with compatible columns. Power Query reads saved workbook contents; refresh source PivotTables and save their workbooks first if their summary values need updating.
Free Microsoft Office alternative

Review Excel Summary Workbooks with WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Excel format compatibility, making it easy to move existing workbooks into WPS. It does not replace Excel's SharePoint Folder Power Query workflow.

Open and review summary worksheets in a familiar spreadsheet interfaceCompatible with Microsoft Excel XLSX and XLS formatsFree and lightweight for everyday spreadsheet workMove existing Office files into WPS without starting from scratch
QA img-9

Frequently Asked Questions

Can I use Excel for the web for this SharePoint folder workflow?

Use Excel Desktop for this workflow. Excel for the web may not support creating a query with the SharePoint Folder connector and combining the worksheets.

What URL should I enter in the SharePoint Folder connector?

Enter the SharePoint site URL, such as https://COMPANYNAME.sharepoint.com/sites/odms. After connecting, filter the Folder Path column to locate the folder containing the workbooks.

Why does the combine query fail for some workbooks?

Check that every filtered workbook contains the selected summary sheet and that its columns are compatible. In Power Query Editor, also filter out temporary files and unrelated workbooks before combining.

Will refreshing the main workbook update the source PivotTables?

Refreshing the main query reads the saved contents of the source workbooks. Refresh the source PivotTables and save those workbooks first, then select Data > Refresh All in the main workbook.