Pivot- Referencing a cell when the columns and rows change after filtering

Mysstownsend

New Member
Joined
May 21, 2015
Messages
3
I have a worksheet, where I'd like to have the Average for all months selected to display in Cell c5. The problem is if more than one person is selected the row and column that holds the data shifts.
For example for Wonder Woman, she has an average in April of 6.92. This displays in D8. But if I add Clark Kent the total average doesn't change to show their combined, still only what's in D8. How can I get a consistent reference?
I wish I could attach my table.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
IF the filters don't change he value but only where it is in the Pivot Table display, the GETPIVOTDATA should retain the value.
With a reasonable understanding of the fields and filters you can generate your own GETPIVOTDATA formula, but normally when clicking on a cell in Pivot table while editing a formula will result in the GETPIVOTDATA reference and not the cell reference.
 
Upvote 0
It changes both. If I change the filter to include more than one person, it changes the number of rows, so it changes the row the average is located. If I add more than one date to the filter, it changes which column the average is in.
I've tried naming the field but that just names the cell and then the cell changes but the name doesn't follow...
I'm more novice at this than I thought :( LOL
 
Upvote 0
select a cell outside your Pivot table, type "=", left click a value cell in your Pivot Table.
Do you not get a =GETPIVOTDATA([.......)
formula of some kind?
 
Upvote 0

Forum statistics

Threads
1,203,203
Messages
6,054,120
Members
444,703
Latest member
pinkyar23

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