Running Balance

jvaughn0311

New Member
Joined
Apr 5, 2010
Messages
12
The table below is an example of what I am working on. I need help with column F.

I can calculate a total balance using "Today()" in criteria:
=SUMIF(C:C,">="&TODAY(),A:A)

I can also easily calculate a running total in Column F without considering date expire to date used.
In Cell F2 it would be =A2-D2, then In Cell F3 the equation would be =F2+A3-D3

But I am stuck on how to create a running total in Column F while factoring date expire as data progress downward (ultimately at late dates in the future)

ABCDEF
Total EarnedDate EarnedDate ExpireUsedDate UsedBalance
4.57/6/20172/15/2018004.5
18/2/20173/14/2018005.5
98/16/20173/28/2018808/26/20176.5
59/21/20175/3/20180011.5
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
use SUMIFS (note the extra S on the end) it allows for multiple criteria.

Ross
 
Upvote 0
Thanks for the SUMIFS statement. Not seeing how that solves the problem though. Thanks again for your time in responding.
 
Upvote 0
guess i don't follow 100%, if there is a value in column E then Remove the value in Column D from the running total?

if so then put this into F3 and fill down =F2+A3-IF(E3>0,D3)


Ross
 
Upvote 0
That may work with a slight variation

=F2+A3-IF(E3 < C3,D3) - had to add spaces for data to appear


But since the values will expire over time maybe I have to have two separate calculations and not a simple "running total" approach.

Maybe it is better to split out the accumulated time using the "sumif today" equation:

=SUMIF(C:C,">="&TODAY(),A:A)

Then have another equation adding up the used time.

Like I said I am stumped on how to keep the additions of new time, minus the used time. Then factoring in unused expired time.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,992
Messages
6,122,631
Members
449,095
Latest member
bsb1122

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