Hi
I am pulling my hair out with the formula below. I am pulling out a range of values for the Period, based on what week is being requested
This works
SUM(OFFSET(INDIRECT("$F$"&VLOOKUP(H1,B:C,2)+1):F$2917,(ROWS(INDIRECT("$F$"&VLOOKUP(H1,B:C,2)+1):INDIRECT("$F$"&VLOOKUP(H1,B:C,2)+1))-1)*4,,4))
but when I want to start the formula from a different sheet this fails!;
SUM(OFFSET(INDIRECT("'Tables'!F"&VLOOKUP(H1,Tables!B:C,2)+1):F$2917,(ROWS(INDIRECT("'Tables'!F"&VLOOKUP(H1,Tables!B:C,2)+1):INDIRECT("'Tables'!F"&VLOOKUP(H1,Tables!B:C,2)+1))-1)*4,,4))
Any help would be great.
Regards
P.S What should I do to post a sample of the worksheet?
I am pulling my hair out with the formula below. I am pulling out a range of values for the Period, based on what week is being requested
This works
SUM(OFFSET(INDIRECT("$F$"&VLOOKUP(H1,B:C,2)+1):F$2917,(ROWS(INDIRECT("$F$"&VLOOKUP(H1,B:C,2)+1):INDIRECT("$F$"&VLOOKUP(H1,B:C,2)+1))-1)*4,,4))
but when I want to start the formula from a different sheet this fails!;
SUM(OFFSET(INDIRECT("'Tables'!F"&VLOOKUP(H1,Tables!B:C,2)+1):F$2917,(ROWS(INDIRECT("'Tables'!F"&VLOOKUP(H1,Tables!B:C,2)+1):INDIRECT("'Tables'!F"&VLOOKUP(H1,Tables!B:C,2)+1))-1)*4,,4))
Any help would be great.
Regards
P.S What should I do to post a sample of the worksheet?
Last edited: