I have been having issues with the getpivotdata function
Formula:
=iferror(getpivotdata("Netquantity",'Oil Pivot'!$A$4,"Product","oil","County",$b4,"Interest Type", "Simple", "Sale Date",C$2),0)+ iferror(getpivotdata("Adjustments",'Adjustments Pivot'!$A$4,"Product","oil","County",$b4,"Interest Type", "Simple", "Sale Date",C$2),0)
The formula works and gives back the correct value on the majority of the cells. There is one that that returns 136.8 instead of 456.3. In the "netquantity" pivot table it shows the correct value of 456.3. The second getpivotdata returns a 0, which is correct because there is no value for it in the second pivot table, which is not the issue. I have added rows on the pivot table, but it should not change how the data is pulled. I am stumped on this one, if anyone has suggestions I would greatly appreciate it.
Bookmarks