B
BobA
I borrowed this formula from another worksheet, but I can't get it to work in my new one.
=SUM(OFFSET($F$1,MATCH(0,$F:$F,-1)-(J2),,(J2)))
I want to total the last (x number of) cells that corresponds to cell j2. So if cell J2 has a five in it, then the formula will sum the last five cells in the F column.
(This is the formula I copied from another sheet:
=SUM(OFFSET($AC$1,MATCH(0,$AC:$AC,-1)-(H7),,(H7)))
Thanks, again.
=SUM(OFFSET($F$1,MATCH(0,$F:$F,-1)-(J2),,(J2)))
I want to total the last (x number of) cells that corresponds to cell j2. So if cell J2 has a five in it, then the formula will sum the last five cells in the F column.
(This is the formula I copied from another sheet:
=SUM(OFFSET($AC$1,MATCH(0,$AC:$AC,-1)-(H7),,(H7)))
Thanks, again.