Using =GETPIVOTDATA with Pivot filter

jhendo14

New Member
Joined
Jun 19, 2020
Messages
12
Office Version
  1. 2011
Platform
  1. MacOS
Is there a way to get a pivot table data point using a formula with a filter set in the pivot table.

As an example, in my pivot table i have a row called % of total which analyzes my data for all days of the week. If i wanted to pull into a formula what the % of total is for an entity on only monday's, is that possible with the GETPIVOTDATA and if so what is the format of the formula...i tried this and it did not work: =GETPIVOTDATA("PctofTotal",PivotTableName,"Hour",8,DayofWeek,2) where dayofweek is filter on the pivot table. If I cut off the formula at "hour",8) the it works. Just trying to figure out how to reference a pivottable value with a filter applied
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,215,020
Messages
6,122,712
Members
449,093
Latest member
Mnur

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top