0
0
Excelspreadsheet~10 mins

PivotTable layouts in Excel - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Sales data by Region and Product with sales amounts.

CellValue
A1Region
B1Product
C1Sales
A2North
B2Apples
C2120
A3North
B3Oranges
C3150
A4South
B4Apples
C4200
A5South
B5Oranges
C5180
A6East
B6Apples
C690
A7East
B7Oranges
C7110
Formula Trace
GETPIVOTDATA("Sales", $E$2, "Region", "North", "Product", "Apples")
Step 1: GETPIVOTDATA("Sales", $E$2, "Region", "North", "Product", "Apples")
Cell Reference Map
    A       B        C       D       E       F
1 |Region |Product |Sales |       |PivotTable Start|
2 |North  |Apples  |120   |       |Region  Product  Sales|
3 |North  |Oranges |150   |       |North   Apples   120  |
4 |South  |Apples  |200   |       |North   Oranges  150  |
5 |South  |Oranges |180   |       |South   Apples   200  |
6 |East   |Apples  |90    |       |South   Oranges  180  |
7 |East   |Oranges |110   |       |East    Apples   90   |
                                |East    Oranges  110   |
The formula references the PivotTable starting at cell E2, which summarizes sales by Region and Product.
Result
    E       F       G
1 |Region  Product  Sales|
2 |North   Apples   120 |
3 |North   Oranges  150 |
4 |South   Apples   200 |
5 |South   Oranges  180 |
6 |East    Apples   90  |
7 |East    Oranges  110 |
The PivotTable shows sales totals by Region and Product. The formula extracts the sales for North Apples, which is 120.
Sheet Trace Quiz - 3 Questions
Test your understanding
What value does the formula GETPIVOTDATA("Sales", $E$2, "Region", "North", "Product", "Apples") return?
A120
B150
C200
D90
Key Result
GETPIVOTDATA extracts specific data from a PivotTable by specifying the data field and filter criteria.