Start Free Course

GetPivotData In Excel

Written by ExcelMojo Editorial Team ExcelMojo Editorial Team ExcelMojo editorial profile and article credentials. Full Bio
Reviewed by Dheeraj Vaidya, CFA, FRM Dheeraj Vaidya, CFA, FRM Reviewed for accuracy, clarity, and editorial standards. Full Bio
Updated Apr 23, 2026
Read Time 10 min

What Is GetPivotData In Excel?

GetPivotData in Excel is a function that helps us get the record from the pivot table based on the various criteria given in the formula. GetPivotData in Excel is one of the lookup functions specifically designed to work with pivot table summary data.

In simple terms, GetPivotData in Excel is used as a query statement for fetching the data from the pivot table based on the table structure instead of the excel cell reference.

📥Download the ready-to-use Excel template to practice this tutorial yourself.

Download Excel Template

For example, look at the following pivot table summary in Excel.

Frequently Asked Questions (FAQs)

How to Add Two GetPivotData in Excel?


We can add two GetPivotData in Excel. For instance, we have the following pivot table in Excel.

FAQ 1

To get the sales value of region ‘East’ and product category ‘Office Supplies’, we can apply the following GetPivotData function.

FAQ 1.1

Assume we need to get the sales of the regions ‘East’ & ‘West’ and for the product category ‘Technology’ we can apply GetPivotData functions in one.

GetPivotData In Excel FAQ 1.2

In the item argument of the region field, we have applied two regions East and West, in curly brackets and then surround the GetPivotData function in the SUM function.

We can also apply two GetPivotData functions and add them together to the result.

GetPivotData In Excel FAQ 1.3

After the first GetPivotData function, we added plus symbol and then applied another GetPivotData function to get the same result as the previous one.

How to Remove GetPivotData in Excel?


By default, when we select any of the cells in the pivot table, the GetPivotData function will be automatically applied as shown in the following image.

GetPivotData In Excel FAQ 1.4

However, we can disable this with just a click.

Select any of the cells in the pivot table, and it will activate Pivot Table Analyze tab. Under this tab, click on the Pivot Table drop-down and also click on the Options drop-down.

FAQ 2

As we can see in the above image, Generate GetPivotData is enabled. Click on this option, and the tick mark disappears, as shown in the following image.

FAQ 2.1

Now, if we select any of the cells in the pivot table, Excel no longer applies the GetPivotData function automatically.

GetPivotData In Excel FAQ 2.2

How do I use GetPivotData from another sheet in Excel?

Type an equal sign in any of the cells in the new sheet and go to the pivot table sheet and choose any of the cells in the pivot table. The moment we choose a cell in the pivot table, it will automatically insert GetPivotData in excel.

What is the use of GETPIVOTDATA in Excel?

From the detailed summarized report, sometimes we may have to look at only one specific record, so in these cases we use GetPivotData in excel.

Download Template

📥Download the ready-to-use Excel template to practice this tutorial yourself.

Download Excel Template

This has been a guide to GetPivotData in Excel. Here we discuss how to use GetPivotData function with examples and downloadable excel template. You can learn more from the following articles –