Archive of Mr Excel Message Board
Nov Dec
Col_A 14 15
Col_B 20 25
Col_C 20 45 (running total of Col_B)
Col_D 70% 33%(Col_A/Col_C)
Col_C must be calculated in the pivot table.
I can get Col_C to be displayed as a running total,
but the underlying field still contains the individual
numbers. This results in Col_D dividing by the same
value as Col_B, not the running total number from Col_C.
Any Suggestions?

Suppose that cells A1:C3 contain:
{"Month","Col_A","Col_B";37196,14,20;37226,15,25}.
I trust that I'm interpreting your illustrative data list
correctly! You'll notice that my Month column contains
datevalues rather than text such as "Nov", "Dec", etc.
For my solution to work these must be datevalues. As such
you'll need to apply some formatting to your data list and
PivotTable to make them appear as Nov, Dec, etc.
If you enter "Col_D" into cell D1, the formula,
=B2/SUMIF(A:A,"<="&A2,C:C), into D2 and copy down to
cell D3, then (after extending the PivotTable's data range)
you can add the field Col_D to your existing PivotTable
using Sum as its summary function.
