Cumulative Addition with constraint

JoeChanps

New Member
Joined
Oct 5, 2016
Messages
26
Col.H
Col. L
Col. O
Date:
14.09.2018
Date
Length
Cum. Length / Result
21.08.2018
4
4
25.10.2018
6
6
06.11.2018
8
14
29.11.2018
5
19
17.07.2018
9
13
01.08.2018
7
20
09.08.2018
12
32
22.08.2018
22
54

<tbody>
</tbody>

Hey guys,

I need some help with a tricky problem and I have no clue how to solve it. Basically what I want is to accumulate the data with a constraint. So..
In Col. O are the results. Don't know if it's possible withou VBA?!

Every date that is before/equal 14.09.2018 should be accumulated (here the accum. dates are: 21.08.2018, 17.07.2018, 01.08.2018, 09.08.2018 and 22.08.2018).

And the other ones should be accumulated as well.

Thank you for your help.

With best regards
Joe
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Like this?

Excel Workbook
HIJKLMNOPQ
1DateLengthCum. Length / ResultDate:14/09/2018
221/08/201844
325/10/201866
46/11/2018814
529/11/2018519
617/07/2018913
71/08/2018720
89/08/20181232
922/08/20182254
Cumulative length
 
Last edited:
Upvote 0
You're very welcome.

Just realised we could write the formula more simply though. :)

Excel Workbook
HIJKLMNOPQ
1DateLengthCum. Length / ResultDate:14/09/2018
221/08/201844
325/10/201866
46/11/2018814
529/11/2018519
617/07/2018913
71/08/2018720
89/08/20181232
922/08/20182254
Cumulative length
 
Last edited:
Upvote 0
Even better. I just have to understand the formula now, i.e. how it works. But you helped me a lot. I really appreciate it.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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