ExcelAtEverything
Active Member
- Joined
- Jan 30, 2021
- Messages
- 351
- Office Version
- 2019
- Platform
- Windows
Hello,
I'm trying to use GETPIVOTDATA to fill in the "GS$" column shown below, with info pulled from the Pivot Table next to it (but on a different sheet in my WB). I'm running into the common problem where I grab the 1st cell no problem, but then when I drag the cell with my GETPIVOTDATA formula down, it continues grabbing the sales number for the first Org # (Org 237), instead of next grabbing the info for Org 839, etc.
=GETPIVOTDATA("[Measures].[Sum of Line Item Total]",'Yest GS'!$B$3,"[Monthly Orders Reports].[Date]","[Monthly Orders Reports].[Date].&[2021-03-27T00:00:00]","[Monthly Orders Reports].[Org #]","[Monthly Orders Reports].[Org #].&[237]")
***"Monthy Orders Reports" by the way is just the name of the data folder where all of my data is.
I tried replacing the last part :
"[Monthly Orders Reports].[Org #].&[237]"
with this:
E6 (E6 is the cell below which contains the number "237"
but it's giving me a #REF error.
Could someone please help me figure this out?
Green/white table is on "Proj" tab: Black/white Pivot Table is on "Yest GS" tab:
I'm trying to use GETPIVOTDATA to fill in the "GS$" column shown below, with info pulled from the Pivot Table next to it (but on a different sheet in my WB). I'm running into the common problem where I grab the 1st cell no problem, but then when I drag the cell with my GETPIVOTDATA formula down, it continues grabbing the sales number for the first Org # (Org 237), instead of next grabbing the info for Org 839, etc.
=GETPIVOTDATA("[Measures].[Sum of Line Item Total]",'Yest GS'!$B$3,"[Monthly Orders Reports].[Date]","[Monthly Orders Reports].[Date].&[2021-03-27T00:00:00]","[Monthly Orders Reports].[Org #]","[Monthly Orders Reports].[Org #].&[237]")
***"Monthy Orders Reports" by the way is just the name of the data folder where all of my data is.
I tried replacing the last part :
"[Monthly Orders Reports].[Org #].&[237]"
with this:
E6 (E6 is the cell below which contains the number "237"
but it's giving me a #REF error.
Could someone please help me figure this out?
Green/white table is on "Proj" tab: Black/white Pivot Table is on "Yest GS" tab: