P
Pablo
I am needing a little help with a function that looks a Col A and takes the
last value before 1 summing Col B. counting backwards to the previous 1 in
Col C. I was thinking Col C. might look something like this.
Cell C3 = if(or(A4=1, A4=""), Sum(B3:B(A3-(A3+1))),"")
Cell C8 = if(or(A9=1, A9=""), Sum(B8:B(A8-(A8+1))),"")
Col A. Col B. Col C.
1 1
2 1
3 0 2
1 1
2 1
3 1
4 1
5 1 5
1 0
last value before 1 summing Col B. counting backwards to the previous 1 in
Col C. I was thinking Col C. might look something like this.
Cell C3 = if(or(A4=1, A4=""), Sum(B3:B(A3-(A3+1))),"")
Cell C8 = if(or(A9=1, A9=""), Sum(B8:B(A8-(A8+1))),"")
Col A. Col B. Col C.
1 1
2 1
3 0 2
1 1
2 1
3 1
4 1
5 1 5
1 0