R
rg1117
Hi All,
I trying to create a custom data field within a Pivot Table that
calculates the remaining sum, in a sense the opposite of the "Running
Total In" option fo the "Show data as" parameter in the Field Settings
bar. So for example if I have the follow data items in a column:
1, 4, 7, 3, 7
Column Total being 22
Then the running total would be
1, 5, 12, 15, 22
And the remaining sum would be
21, 17, 10, 18, 0
I cannot find any way of doing this. Since I cannot use GETPIVOTDATA
within a Pivot Table's calculated field, I cannot make a reference to
the Column Total. Can anyone suggest a way of doing this using.
Ideally if possible, I want to avoid using macros for this as the
source data can change quite significantly, a non-macro based solution
would be optimal for my context.
Any suggestions would be greatly appreciated.
Thanks for your help in advance,
RG
I trying to create a custom data field within a Pivot Table that
calculates the remaining sum, in a sense the opposite of the "Running
Total In" option fo the "Show data as" parameter in the Field Settings
bar. So for example if I have the follow data items in a column:
1, 4, 7, 3, 7
Column Total being 22
Then the running total would be
1, 5, 12, 15, 22
And the remaining sum would be
21, 17, 10, 18, 0
I cannot find any way of doing this. Since I cannot use GETPIVOTDATA
within a Pivot Table's calculated field, I cannot make a reference to
the Column Total. Can anyone suggest a way of doing this using.
Ideally if possible, I want to avoid using macros for this as the
source data can change quite significantly, a non-macro based solution
would be optimal for my context.
Any suggestions would be greatly appreciated.
Thanks for your help in advance,
RG