Hello,
I'd like to sum the first 7 left cells or up to the first negative number (always to a max of 7 cells)
EX. =SUM(A1:G1) to cell G2 This is pretty much easy
My problem is, if there is a negative number in these 7 cells, I have to sum up before that cell without counting it or going over it.
A1= 1
A2= 2
A3=(-2)
A5= 2
A6= 3
A7= 4
Total on Cell G3 would have to be 9
A7+A6+A5=9 since A3=(-2) I only count before the first negative number
Is there an easy way to do that?
Thank you
Bookmarks