Power Query Problems

How to Consolidate Data from Multiple Excel Tabs Using Power Query

Ayan MasoodAyan Masood Nov 10, 2026 870 views

Question details

The user wants to combine issue data from several location worksheets into a single, automatically updating report instead of manually maintaining multiple PivotTables.

How to Consolidate Data from Multiple Excel Tabs Using Power Query
Product
Excel
Device & OS
not provided
Scenario
Consolidating data across multiple tabs to count modification categories by fiscal year and month.
Observed behavior
Currently maintaining multiple PivotTables manually, seeking an automated consolidation method.
Before you start

Ensure that all the location worksheets you want to consolidate have identical column headers and data structures before importing them into Power Query.

Solution 1Recommended

Consolidate and Transform Data Using Power Query

Use Power Query to append multiple location tables, unpivot categories, and load the consolidated data into a single PivotTable.

Power Query is the most efficient way to combine multiple worksheets. By creating a standardized connection to your data, you avoid the need to manually copy and paste new entries.

Unpivoting your modification categories during this process normalizes your data, making it perfectly structured for PivotTable analysis.

1
Standardize Tables

Format the data in each location tab as an official Excel Table by pressing Ctrl+T. Ensure all column headers match exactly across every table.

2
Load to Power Query

Go to the 'Data' tab, select 'Get Data', then 'From Other Sources' > 'Blank Query', or load each table individually using 'From Table/Range'.

3
Append Queries

In the Power Query Editor, use the 'Append Queries' feature on the Home ribbon to combine all the location tables into a single master table. Add a custom 'Location' column if needed to identify the source tab.

4
Unpivot Columns

Select the Modification Category columns, right-click the headers, and choose 'Unpivot Columns' to normalize your data for easier counting.

5
Format Dates

Select the 'PCR Date' column, click the data type icon in the column header, and change it to 'Date' to ensure accurate fiscal year and month grouping.

6
Load to Data Model

Click 'Close & Load To...' on the Home tab, select 'PivotTable Report', and check 'Add this data to the Data Model' to create your final, automatically updating report.

Consolidate and Transform Data Using Power Query
Automated Updates: Once set up, you can simply click 'Refresh All' on the Data tab to update your master PivotTable whenever new data is added to the original location tabs.
WPS Spreadsheet Data Consolidation

Consolidate Multiple Worksheets Easily in WPS Office

WPS Spreadsheet provides powerful built-in tools like 'Consolidate' and 'PivotTable' to help you combine data from multiple tabs and generate dynamic reports effortlessly.

  1. 1. Open your Workbook in WPS: Launch WPS Spreadsheet and open the workbook containing your multiple location tabs.
  2. 2. Use the Consolidate Tool: Navigate to the 'Data' tab and click on 'Consolidate'. Choose the function you need, such as Sum or Count.
  3. 3. Add References: Click the reference box, select the data range in your first location tab, and click 'Add'. Repeat this process for all other location tabs you wish to combine.
  4. 4. Create a PivotTable: For more dynamic reporting, go to the 'Insert' tab, select 'PivotTable', and choose your newly consolidated data range to build a custom report.
Combine data from multiple sheets without complex formulasFully compatible with Microsoft Excel (.xlsx) formatsLightweight and fast processing for large datasetsFree built-in PivotTable functionality for dynamic reporting
microsoft office alternative - wps office

Frequently Asked Questions

Why are my columns not aligning when appending tables in Power Query?

Power Query appends data based on exact column header names. If your columns are not aligning, check for typos, trailing spaces, or case sensitivity differences in the headers across your location tabs.

How do I group my PivotTable by fiscal year and month?

After loading your standardized data into a PivotTable, drag the Date field into the Rows area. Right-click any date in the PivotTable, select 'Group', and choose 'Months' and 'Years'. You may need to create a custom calculated column in Power Query for fiscal years if they do not align with the standard calendar year.

Does the consolidated report update automatically when I add new data?

It does not update instantly on its own. You must go to the Data tab and click 'Refresh All', or right-click the PivotTable and select 'Refresh' to pull in the latest data from your location tabs.

What does 'Unpivot' mean in Power Query?

Unpivoting transforms data from a wide format (e.g., categories as individual columns) into a long format (attribute-value pairs in two columns), making it much easier to filter, group, and summarize data in a PivotTable.