Last updated: November 2, 2011 10:53 PM
Search Contextures Sites ![]()
Excel Pivot Table Tutorial -- GetPivotData
- Generate GetPivotData
- Turn Off Generate GetPivotData Excel 2007
- Turn Off Generate GetPivotData Excel 2003
- Watch the Excel Pivot Table Tutorial Video
- GetPivotData Formula
- Using Cell References in GetPivotData
Download the zipped sample file for this Excel pivot table tutorial
Turn Off Generate GetPivotData Excel 2003
In Excel 2003, you can turn off the Generate GetPivotData command by adding a button to the PivotTable toolbar.
![]()
On the PivotTable toolbar, click the Generate GetPivotData button to toggle this feature on and off.
Watch the Generate GetPivotData Video
View the steps to customize the Excel 2003 toolbar, in a short pivot table tutorial video clip.
GetPivotData Formula
To extract data from an Excel Pivot Table, you can use the GetPivotData function. The function arguments depend on the version of Excel that you're using, so check Excel's on-line help for examples.
The example at the right is for Excel 2010, and returns the total for file folders.
In Excel 2002, and later versions, if you have the Generate GetPivotData feature turned on, this formula will be created automatically, when you reference a cell in the Excel Pivot Table.
In Excel 2000 or Excel 97, you have to create the GetPivotData formula manually, by typing an equal sign, the function name, and the required arguments, just as you would for any other function.
This example shows the function arguments required for Excel 2000 or Excel 97, to return the number of Units sold in Ontario.
This example shows the function arguments required for Excel 2000 or Excel 97, to return the total number of Units sold.
Add an Empty String
To fix this problem, you can concatenate an empty string ( "" ) at the end of the cell reference:
=GETPIVOTDATA(E2&"",$A$3,"Product","Paper")
With this simple change to the formula, it returns the correct result.
Download the zipped sample file for this Excel pivot table tutorial
Contextures Inc., Copyright ©2012
All rights reserved.