Power Query Problems

How to Combine Multiple Excel Workbooks into a Summary Using Power Query

Adam DavisAdam Davis Nov 11, 2026 870 views

Question details

The user wants to combine data from multiple vendor Excel workbooks with identical formats into a single summary workbook that updates automatically.

How to Combine Multiple Excel Workbooks into a Summary Using Power Query
Product
Microsoft Excel
Device & OS
not provided
Scenario
Consolidating periodic reports from multiple vendors into a master summary file using folder-based imports.
Observed behavior
Needs a streamlined method to import all files from a designated folder and refresh the combined data automatically when the source files change.
Before you start

Ensure all the source workbooks you want to combine have the exact same structure (identical column headers and data layouts) and are stored together in a single, dedicated folder on your computer.

Solution 1Recommended

Combine Workbooks Using Power Query 'From Folder' Feature

The most robust and standard way to combine multiple files with the same structure is by connecting Power Query directly to a folder.

By setting up a folder-based query, Excel will automatically append all files placed into that folder. If a vendor submits a new file, you only need to drop it into the folder and hit refresh.

1
Organize Source Files

Create a dedicated folder on your drive and place all 30 vendor workbooks inside it. Ensure no other unrelated Excel files are in this folder.

2
Get Data From Folder

Open a new, blank Excel workbook. Go to the 'Data' tab on the ribbon, select 'Get Data' > 'From File' > 'From Folder'.

3
Select Folder Path

Browse to the folder containing your vendor files and click 'Open'.

4
Combine the Files

In the preview window that appears, click the 'Combine' dropdown button at the bottom and select 'Combine & Transform Data'.

5
Load the Summary

Select the sample sheet or table to base the combination on and click 'OK'. The Power Query Editor will open. If the data looks correct, click 'Close & Load' in the top-left corner to generate your summary table.

Combine Workbooks Using Power Query 'From Folder' Feature
Automatic Refresh: When source files change or new files are added, you don't need to rebuild the query. Just right-click any cell in your combined summary table and select 'Refresh'.

Easily Combine Multiple Workbooks with WPS Spreadsheet

WPS Spreadsheet features an intuitive 'Merge Workbooks' tool that allows you to consolidate multiple Excel files into a single sheet quickly, without needing to configure complex Power Query rules.

  1. 1. Open WPS Spreadsheet: Launch WPS Office, open a new Spreadsheet, and navigate to the 'Data' tab on the top ribbon.
  2. 2. Access the Merge Tool: Click on 'Merge Workbooks' or 'Consolidate' located in the Data tools section.
  3. 3. Add Vendor Workbooks: Click 'Add Files' in the prompt window and select all the vendor workbooks you wish to combine.
  4. 4. Execute the Merge: Choose whether to merge them into multiple sheets or a single consolidated summary sheet, then click 'Start Merging'.
100% compatible with Microsoft Excel formats (.xlsx, .xls, .csv)Built-in Merge Workbooks feature for instant file consolidationLightweight, fast, and completely free to useUser-friendly interface with a gentle learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Do all source workbooks need to have the exact same format for Power Query to combine them?

Yes, for a seamless combination, all workbooks in the folder should have identical column headers, data types, and sheet names. If the formats differ, you will need to apply transformation steps in the Power Query Editor to align the columns before loading the final summary.

How do I update the summary when a new vendor workbook is received?

Simply move the new workbook into the same folder you used for the initial import. Then, open your summary workbook, go to the 'Data' tab, and click 'Refresh All' (or right-click the summary table and click 'Refresh'). Power Query will automatically process and append the new file.

Can I exclude certain files in the folder from being combined into the summary?

Yes. Before clicking 'Combine' in the Power Query preview window, select 'Transform Data'. In the Power Query Editor, you can click the filter dropdowns on the 'Name' or 'Extension' columns to exclude temporary files, specific vendor names, or non-Excel files, and then combine the remaining data.