Hi, I have really been struggling with this and have no Idea what to do. Here is my formula:
=IF(ISERROR(GETPIVOTDATA("Flavour Trend",UNFIFlavourTrend!$B$3,"Date","Mar")),0,GETPIVOTDATA("Flavour Trend",UNFIFlavourTrend!$B$3,"Date","Mar"))
When I get new information I paste it in the sheet labeled UNFIFlavourTrend, I then run the macro, and out pops a pivot table. This is a formula that I am using to retrieve and summarize information on another sheet from ther pivot table. However, when I paste new data in and run the macro, the cell reference $B$3 turns to #Ref. Is there anyway I can lock this cell reference as $B$3 in the formula?
=IF(ISERROR(GETPIVOTDATA("Flavour Trend",UNFIFlavourTrend!$B$3,"Date","Mar")),0,GETPIVOTDATA("Flavour Trend",UNFIFlavourTrend!$B$3,"Date","Mar"))
When I get new information I paste it in the sheet labeled UNFIFlavourTrend, I then run the macro, and out pops a pivot table. This is a formula that I am using to retrieve and summarize information on another sheet from ther pivot table. However, when I paste new data in and run the macro, the cell reference $B$3 turns to #Ref. Is there anyway I can lock this cell reference as $B$3 in the formula?