• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to use GETPIVOTDATA in a textbox on a graph

andrewbroadway

New Member
First, thanks to everyone who helps!


I'm simply:


1. Inserting a textbox from the Layout tab of the selected graph.

2. Inside of the formula bar, having the text box selected, inserting an '='

3. Then clicking on the Grand Total of a PivotTable

4. This formula appears =GETPIVOTDATA("otapct",Presentation!$S$1)

5. I click the check box to confirm the formula


Then I get this error:


The formula you typed contains an error.


What am I doing wrong? How do I use the GETPIVOTDATA formula inside a textbox on a graph?
 
Andrew


The only formula you can have in a textbox is a =Cell Reference


So simply link another cell to your Pivot Table and then link your text box to that cell

eg:

H1: =GETPIVOTDATA("otapct",Presentation!$S$1)

then in the text box

=H1
 
Back
Top