Hi, everyone !
I have a column with a formula that returns a number or a FALSE.
1 FALSE
2 FALSE
3 0
4 FALSE
5 FALSE
6 FALSE
7 1
8 FALSE
9 FALSE
10 FALSE
11 2
12 FALSE
13 6
14 FALSE
15 FALSE
Now, the pattern of numbers and FALSE's is irregular, over hundreds of rows.
What I need is a formula that returns the sum of the last 4 numbers (not last 4 cells, which can all be FALSE).
The formula will be copied in every cell in the adjacent column, so in the example above, assuming the data is in column A, cell B14 should return a value of 9 (last 4 numbers from the A column, starting from the same row as the formula/cell in column B, and going back as many cells as required to have the sum of the last 4 numbers). Cell B15 in the above example should return 9 again, and so on.
Thank you in advance, any ideas/suggestions will be appreciated.
I have a column with a formula that returns a number or a FALSE.
1 FALSE
2 FALSE
3 0
4 FALSE
5 FALSE
6 FALSE
7 1
8 FALSE
9 FALSE
10 FALSE
11 2
12 FALSE
13 6
14 FALSE
15 FALSE
Now, the pattern of numbers and FALSE's is irregular, over hundreds of rows.
What I need is a formula that returns the sum of the last 4 numbers (not last 4 cells, which can all be FALSE).
The formula will be copied in every cell in the adjacent column, so in the example above, assuming the data is in column A, cell B14 should return a value of 9 (last 4 numbers from the A column, starting from the same row as the formula/cell in column B, and going back as many cells as required to have the sum of the last 4 numbers). Cell B15 in the above example should return 9 again, and so on.
Thank you in advance, any ideas/suggestions will be appreciated.