Reset running total and provide date.

davin1130

New Member
Joined
Mar 15, 2019
Messages
30
Need help please … i have a spread sheet with 4 columns. Column A is a date; Column B is a numeric value; Column C is the running sum of the values in column B (but i'd like to reset the value once the sum reaches the value of 5000); and Column D is the date from column A once the sum of column C reaches the value of 5000. Look for help in the logic for columns C & D. Thank you in advance !!
 

Some videos you may like

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

mrshl9898

Well-known Member
Joined
Feb 6, 2012
Messages
1,729
Try this:

C2 =SUM(B$2:B2)-(INT(SUM(B$2:B2)/5000)*5000)
D2 =IF(C3<C2,A2,"")
 

davin1130

New Member
Joined
Mar 15, 2019
Messages
30
Thank you for the reply … wondering if the capability is there to keep the true sum value in column "C" when it goes over 5000 and in the following cell the reset starts … for example if column "C10" sums to 5150 it would stay at 5150 and then column "C11" would start fresh.
 

Watch MrExcel Video

Forum statistics

Threads
1,128,205
Messages
5,629,281
Members
416,383
Latest member
Joe Reiter

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
Top