Pivot tables - calculated fields, cumulative of another field

astrbac

Board Regular
Joined
Jan 22, 2015
Messages
55
Hello all,

I am having what seems to be a trivial issue - how to add a calculated field to an Excel pivot table, a field which keeps the running total (or cumulative) based on some other field?

Example:

----
Total plan: 400
days: 4
----

Day 1. Daily plan: 100; Cost: 90; Running total (cost): 90;
Day 2. Daily plan: 100; Cost: 80; Running total (cost): 90 + 80 = 170
Day 3. Daily plan: 100; Cost: 90; Running total (cost): 170 + 90 = 260
Day 4. Daily plan: 100; Cost: 110; Running total (cost): 260 + 110 = 370


DayDaily planDaily costCumulative costCumulative remaining
11009090310 (400-90)
210080170230 (400-170)
310090260140 (400-260)
410011037030 (400-370)

<tbody>
</tbody>


I need to be able to track and predict budget expenditure and adjust on a daily basis so that on the last day all the budget gets spent.

many thanks for all replies!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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