December 8, 2017
How are you ?
I like to practice GETPIVOTDATA Function as much as possible. but again, I am getting #REF! error. Worksheet is attached.
Please advised me, what I did wrong? and for future, What I have to enter in data field, field1, Item 1, Field2, Item 2. Please explain me in
Thank you very much.
Have a great day.
December 7, 2016
As I wrote in a previous reply, you need to check the table header names in the Pivot Table.
Your formula is: =GETPIVOTDATA("Order Amount Total";$C$8:$U$17;"Name";"Bromley";"YEAR"; 2011)
The table headers in your Pivot Table are:
So, remove Total so you have "Order Amount". Change Name to Salesperson and add an S in YEAR so you get "YEARS". You also have a space in front of 2011, so that needs to be removed to.
Your formula should now look like this: =GETPIVOTDATA("Order Amount";$C$8:$U$17;"Salesperson";"Bromley";"YEARS";2011)
Your formula is correct, you just reference with wrong table header names.