When you manage data on separate sheets by department, month, or branch, you may eventually want to analyze all the data together. Here are several ways to combine data from multiple sheets with the same structure into a single PivotTable.
๐ Prerequisite: Sheet Structures Must Match
The column names and order must be the same on every sheet for smooth PivotTable consolidation.
Method 1๏ธโฃ: Create a Consolidated Table by Copying Manually
This is the simplest method, but it can be time-consuming.
- Create a new worksheet and copy the column headers.
- Paste the data from each sheet one below another.
- Create a PivotTable from the completed table.
๐ Tip: When pasting, use Ctrl + Alt + V to paste values only and prevent formatting issues.
Method 2๏ธโฃ: Use Defined Names and Multiple Consolidation Ranges
You can reference each sheet by using the Multiple Consolidation Ranges feature.
- Define a name for the data range on each sheet (for example,
JanDataandFebData). - Select โInsertโ > โPivotTableโ > โUse an external data sourceโ
- Add all defined names to the โConsolidation rangesโ list.
- Click โAddโ โ โNew Worksheetโ โ Finish.
โ Limitation: Because field names are generated automatically, the Power Query method is better if you need to retain the original field names.
Method 3๏ธโฃ: Combine Multiple Sheets with Power Query
This is the most flexible method and can automate repeated tasks.
- On the โDataโ tab, select โGet & Transform Dataโ > โFrom Workbookโ.
- Load all sheets in the file and confirm that they have the same column structure.
- In the โPower Query Editor,โ append all tables โ Append Rows.
- Load the combined query and analyze the resulting table with a PivotTable.
๐ก Automation Benefits
- When new sheets are added, you can combine them automatically by simply refreshing the query.
- Create PivotTables quickly using matching items as the basis.
- Perform advanced analysis, including filtering and adding calculated columns.
๐ Summary Guide
- Simple analysis: Manual copying or consolidation ranges
- Detailed analysis + automation: Power Query recommended
- All sheets must maintain the same column structure.
Stop managing complex sheets separately. Combining them into one PivotTable makes reporting and analysis much easier. Be sure to apply it in your work.