• 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.

GetPivotData for Multiple Items in Multiple Fields

$kr1mpy&!

New Member
I keep getting a #REF error keying in this formula:

=GETPIVOTDATA("Sum LC tax amount",S_ALR_87012394!$A$5764,"Description","Sales - Taxable","Jurisdiction code",M5649)​

 
That would suggest that either the code in M5649 doesn't actually appear in the pivot table, or one of the field names is incorrect.
 
The M5649 references a cell on the "destination" spreadsheet. I need the tax amount from a pivot table on a different tab and populate that number in cell N5649. It has worked on previous schedules.
1728662504347.png
 
That picture really doesn't help as I can't see the pivot table. Normally Excel will create a getpivotdata formula for you if you type = and then select the cell in the pivot table that you want. If you do that for this particular value that you want, what formula does it produce?
 
I can't see any cells in your pictures that match all those values, so all I can assume is that there isn't one.
 
Back
Top