Article ID: 161538
Article Last Modified on 10/22/2000
=GETPIVOTDATA(pivot_table, name)where the "pivot_table" argument is a reference to a cell in the PivotTable you want to analyze. The "pivot_table" argument can also be a range of cells in the PivotTable, a name for the range that contains the PivotTable, or a label stored in a cell above the PivotTable. The "name" argument is a text string that is enclosed in quotation marks and describes the data you want to summarize.
A1: Name B1: Sales C1: Region
A2: bob B2: 1 C2: east
A3: sue B3: 2 C3: west
A4: bob B4: 3 C4: west
A5: mary B5: 4 C5: west
A6: sue B6: 5 C6: north
A7: bob B7: 6 C7: south
A8: sue B8: 7 C8: east
=GETPIVOTDATA(PT1,"bob east")
The result is a value of 1, because the total for "bob" in the "east"
region is 1.
=GETPIVOTDATA(PT1,"west")
The result is a value of 9, because the total of "west" region is 9.
=GETPIVOTDATA(PT1, "sum of sales")
The result is a value of 28, because the total of all the sales in all
regions is 28.getpivotdata
Additional query words: 97
Keywords: kbhowto kbualink97 KB161538