Excel - GETPIVOTDATA - need formula to get each pivot entry's value from PT

RCBricker

Well-known Member
Joined
Feb 4, 2003
Messages
1,560
So I am trying to extract all of the totals for each element of a pivot table. I don't normally use PTs and this one is not mine. I need to compare each total to my data to see if I agree with the results of the PT.

this is the formula that I have:

Code:
=L5-GETPIVOTDATA("[Measures].[Sum of Current ITD Amount]",$A$5,"[USSGL_LU].[USSGL]","[USSGL_LU].[USSGL].&[101000]")

I am sure it is something that I am just not seeing.

any help would be greatly appreciated.

thanks,
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
So I am trying to extract all of the totals for each element of a pivot table. I don't normally use PTs and this one is not mine. I need to compare each total to my data to see if I agree with the results of the PT.

this is the formula that I have:

Code:
=L5-GETPIVOTDATA("[Measures].[Sum of Current ITD Amount]",$A$5,"[USSGL_LU].[USSGL]","[USSGL_LU].[USSGL].&[101000]")

I am sure it is something that I am just not seeing.

any help would be greatly appreciated.

thanks,

Nevermind. My caffeine caught up with my brain.

For others looking for the solution, simply right a formula to reference the required cell. In the example I gave above the cell to be referenced was B6. so =B6 will return the value shown there. =L5-B6 is the formula I wanted and it is a dynamic reference.

thanks all,
 
Upvote 0

Forum statistics

Threads
1,213,483
Messages
6,113,919
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top