Pinterest Pixel

Create PivotTable from Multiple Sheets in Excel – Top 2 Methods

Pivot tables are a crucial tool for data analysis in Excel, that helps users to summarize data... read more

Download Excel Workbook
John Michaloudis
Posted on

Overview

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

Pivot tables are a crucial tool for data analysis in Excel, that helps users to summarize data and provide valuable insights. While creating a Pivot Table using a single data source is a common and easy task, it is important to understand that you can create a PivotTable from multiple sheets into a single report as well.

In this article, we’ll explore two effective methods for achieving this advanced data consolidation within Excel –

Let’s explore these methods!

Download the Excel Workbook below to follow along and understand How to Create PivotTable from Multiple Sheets in Excel –

download excel workbookPivot-Table-from-Multiple-Sheets-1.xlsx

Method 1 – Pivot Table Wizard

Suppose you have sales data from two different locations – West and East. You want to create a Pivot Table that will show the sum of sales from both locations combined in a single report. Follow the steps below to create PivotTable from multiple sheets –

STEP 1: Press Alt + D + P to open the PivotTable Wizard.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods

STEP 2: In the PivotTable and PivotChart Wizard, select Multiple consolidation ranges and press Next.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 3: Select I will create the page fields option and then Next.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 4: Select the data table from the West region and click Add.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods

STEP 5: Select the data table from the East region and click Add.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods

STEP 6: Select 1 as the page field.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 7: Select the range of the West region and type West in the Field one box.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 8: Select the range of the East region and type East in the Field one box. Click Next.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 9: Select New Worksheet. Click Finish.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

A PivotTable combining data from both sheets will be displayed in the new worksheet.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

 

Method 2 – Using PowerQuery

In this method, you can add data from different sheets into a single data table and then use it to create Pivot. You can do this using the append queries option in Power Query. Power Query can append or merge two separate tables together as well as create extra columns in your data which can display your custom calculations.

The Power Query method grants extensive flexibility and control over the data consolidation process. Follow the steps below to create a PivotTable from multiple sheets –

STEP 1: Go to Data > From Table/Range.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

The data table will now open in the Power Query editor window.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 2: Right-click on the date column and select Change Type > Date.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

 

STEP 3: In the Change column type dialog box, select Replace current.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 4: In the left panel, right-click on the table and select Duplicate.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 5: In the Applied Steps section, select Source and edit Table name to Table1.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 6: Click on Close & Load > Close & Load To.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 7: In the Import Data dialog box, select Only Create Connection. Click OK.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 8: In the Power Query Editor window, go to Append Queries > Append Queries as New.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 9: In the Append dialog box, select Table1 as the First Table and Table2 as the Second Table.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

A combined data table will appear as a new query.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 10: Click on Close & Load.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

STEP 11: Click on Insert > PivotTable. In the dialog box, select OK.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

A Pivot Table will be created with the combined data from both regions – East and West.

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline

 

Conclusion

Pivot tables are invaluable tools for data analysis, especially when dealing with large and complex datasets. It provides a dynamic and user-friendly way to explore and present data and make tasks much more manageable.

However, a common challenge people encounter when working with Pivot Tables is the uncertainty surrounding how to present data across multiple sheets. This article will help you in dealing with the same. By following the steps outlined in this article, you can consolidate data from multiple sheets, establish relationships between them, and build insightful pivot tables.

Further learning:

Click here to access Microsoft’s tutorial on Creating PivotTable from Multiple Sheets in Excel!

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

Create PivotTable from Multiple Sheets in Excel - Top 2 Methods | MyExcelOnline
Founder & Chief Inspirational Officer at MyExcelOnline.com

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship Academy Online Course.

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!