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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
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,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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