# Reset running total and provide date.

#### davin1130

##### New Member
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 !!

### Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

#### mrshl9898

##### Well-known Member
Try this:

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

#### davin1130

##### New Member
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.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,625
Messages
5,838,427
Members
430,547
Latest member
jopshio

### 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?

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