Referencing PivotTable Page Fields "Absolutely"

Dunro

New Member
Joined
Jan 12, 2011
Messages
11
Hi there,

Is there a way to reference the current value for a page field without using a macro-enabled file (i.e. without VBA)?

I'm trying to do dynamic chart titles (by having a cell that references the page field I care about), but I get in trouble if additional page fields are added or removed because the cell reference does not update.

Chart Title fx = 'Total Activity'!$A$1
A1 fx = ="Total Activity - "&IF(B3="(All)","",B3&" Positions - ")&IF(B5="(All)",IF(B4="(All)","All Departments",B4),B5)

B3 is the page filter by Employee Group (Unions, etc)
B4 is page filter by Department
B5 is page filter by Sub-Department

Problem is if another page field is added, the page fields move without the formula updating (B3 becomes B4, B4 becomes B5, etc)

I know I can workaround the issue with VBA, but I'm trying to challenge myself (and save myself from teaching new users to enable macros/set their trust settings for something so trivial as a pivotchart title...)

Thanks for the help!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,215,388
Messages
6,124,658
Members
449,177
Latest member
Sousanna Aristiadou

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