I have a long list of random positive and negative numbers in column A. Id like to be able to add sequences of positive then negative numbers as they occur.
For example... in the list
5,-1,-5,-3,2,8,-1,-3,9,7,5,11,-5,6,5
... i would add the positive numbers until the next number in the list was negative, then add the negative numbers till the next number was positive, etc.
The answers for the above list would be 5, -9, 10 , -4, 32 -5, 11
Any ideas ?
Bookmarks