Hi All,
Let me state the scenario:
Cell A1 contains "-50" and cell B1 contains nothing.
Cell A2 contains "-50" and cell B2 contains nothing.
Cell A3 contains nothing and cell B3 contains "+51".
Cell A4 contains nothing and cell B4 contains nothing.
Cell A5 contains nothing and cell B5 contains "+59".
Cell A6 contains "-49" and cell B6 contains nothing.
The sum I am looking for is "+3" which is calculated by the sum(A1,B3,A6).
How can I write a formula that will sum cell(column) A1(A) with the next adjacent value in cell(column) B3(B) and then again with the next adjacent value in cell(column) A6(A)? Meaning, I do not want to include any redundant values in the sum formula from column A, until it is offset with an adjacent value in column B. Then the process can be repeated in reverse. I have a very large data set, so the formula must be uniform so that I can copy it down like 30k rows
PS. Or any workaround that may achieve the desired result will suffice.
Thanks so much!
m
Let me state the scenario:
Cell A1 contains "-50" and cell B1 contains nothing.
Cell A2 contains "-50" and cell B2 contains nothing.
Cell A3 contains nothing and cell B3 contains "+51".
Cell A4 contains nothing and cell B4 contains nothing.
Cell A5 contains nothing and cell B5 contains "+59".
Cell A6 contains "-49" and cell B6 contains nothing.
The sum I am looking for is "+3" which is calculated by the sum(A1,B3,A6).
How can I write a formula that will sum cell(column) A1(A) with the next adjacent value in cell(column) B3(B) and then again with the next adjacent value in cell(column) A6(A)? Meaning, I do not want to include any redundant values in the sum formula from column A, until it is offset with an adjacent value in column B. Then the process can be repeated in reverse. I have a very large data set, so the formula must be uniform so that I can copy it down like 30k rows
PS. Or any workaround that may achieve the desired result will suffice.
Thanks so much!
m