1. Total spend for a single campaign
| Campaign | Email | Social | Paid Search |
| Spring Sale | 5000 | 3000 | |
| Summer Blast | 7000 | | 4000 |
=GETPIVOTDATA("Spend",$A$3,"Campaign","Spring Sale")
Result: 8000
The PivotTable sums Spend for each campaign across all channels. For "Spring Sale" the Email spend is 5,000 and Social spend is 3,000, giving a total of 8,000. The formula points to cell A3 inside the PivotTable, requests the "Spend" field, and filters on the Campaign "Spring Sale", so it returns that summed total.
2. Conversions for a campaign-channel pair
| Campaign | Email | Social | Paid Search |
| Summer Blast | | | 55 |
| Spring Sale | | 30 | |
=GETPIVOTDATA("Conversions",$A$3,"Campaign","Summer Blast","Channel","Paid Search")
Result: 55
The PivotTable also contains a "Conversions" value field. For "Summer Blast" on the "Paid Search" channel the underlying data shows 55 conversions. By specifying both the Campaign and Channel items, GETPIVOTDATA pinpoints that exact cell and returns 55.
3. Overall clicks for a specific channel
| Channel | Email | Social | Paid Search |
| Clicks | 1200 | 800 | |
| 1500 | | 1100 |
=GETPIVOTDATA("Clicks",$A$3,"Channel","Email")
Result: 2700
When only a column field is supplied, GETPIVOTDATA aggregates over all row items. The Email column shows 1,200 clicks for "Spring Sale" and 1,500 clicks for "Summer Blast". Adding those gives 2,700, which is the value the formula returns.