Jasperverdam
New Member
- Joined
- Jan 21, 2016
- Messages
- 9
Hi All,
I have a list of values, both positives and negatives and I would like to find the lowest point that can be obtained by summing any of the possible sum combinations of that list. However they do have to stay in sequence. For example:
A1: -3
A2: 5
A3: -4
A4: -1
A5: 2
Adding -3, -4 and -1 is not correct as they are not in sequence (it would be +2 before it reaches cell A3 (-3+5))
In this case -5 would be the lowest point, but my lists are rather large so I am looking for a quicker way to do it rather than observing. It pretty much is a MAX function of (A1,A2,A3,A4,A5;SUM(A1:A2) up to SUM(A1:A5), but also SUM(A2:A3) up to SUM(A2:A5) all the way up to SUM(A4:A5).
Hope this makes sence!
BR,
Jasper Verdam
I have a list of values, both positives and negatives and I would like to find the lowest point that can be obtained by summing any of the possible sum combinations of that list. However they do have to stay in sequence. For example:
A1: -3
A2: 5
A3: -4
A4: -1
A5: 2
Adding -3, -4 and -1 is not correct as they are not in sequence (it would be +2 before it reaches cell A3 (-3+5))
In this case -5 would be the lowest point, but my lists are rather large so I am looking for a quicker way to do it rather than observing. It pretty much is a MAX function of (A1,A2,A3,A4,A5;SUM(A1:A2) up to SUM(A1:A5), but also SUM(A2:A3) up to SUM(A2:A5) all the way up to SUM(A4:A5).
Hope this makes sence!
BR,
Jasper Verdam