Forum Discussion
GET PIVOTDATA #REF! error
- Oct 28, 2019
Depends on what's in T8. If that value isn't in the pivottable #REF! is the result. Please note that you might need to convert the content of T8 to text:
=GETPIVOTDATA("Amount",'2019'!$R$4,"Fund","1100","Orgn","2002","Acct",T8&"")
Depends on what's in T8. If that value isn't in the pivottable #REF! is the result. Please note that you might need to convert the content of T8 to text:
=GETPIVOTDATA("Amount",'2019'!$R$4,"Fund","1100","Orgn","2002","Acct",T8&"")
Thanks Jan for your quick response. Converting to text, based on your syntax worked, but please educated me on "how" this works. I understand the concatenate function with the & symbol, but I don't understand how the syntax for this statement works.
This worked! Look forward to your response.
- JKPieterseOct 28, 2019Silver ContributorAdding an empty string to a number converts that number to a string value.
- Tom_at_workOct 28, 2019Copper Contributor
Good to know! Thanks!