andrewsutton
Board Regular
- Joined
- Oct 19, 2004
- Messages
- 59
Can anyone tell me a formula that sums the previous n rows of that column?
i.e. if I put it in B5, and n is 3 (this number will come from another cell, let's say A1), the result will be SUM(B2:B4).
If I put it in Q200 and n is 100, it comes out as SUM(Q300:Q399).
I would like the formula to be draggable, so that I can spread it to cells all over the place without having to adjust anything in the fomula.
Thanks,
Andrew
i.e. if I put it in B5, and n is 3 (this number will come from another cell, let's say A1), the result will be SUM(B2:B4).
If I put it in Q200 and n is 100, it comes out as SUM(Q300:Q399).
I would like the formula to be draggable, so that I can spread it to cells all over the place without having to adjust anything in the fomula.
Thanks,
Andrew