binaryfingers
Technical User
- Jul 26, 2002
- 118
Hi
I have the following formula
=VLOOKUP($B53,Pricingsheet2006value,MATCH(PS2!GN56,Pricingsheet2006date,0)+1,FALSE)*GN59
and in the next cell
=VLOOKUP($B53,Pricingsheet2006value,MATCH(PS2!GO56,Pricingsheet2006date,0)+1,FALSE)*GO59
In Cell A1 I have the sheet name, in this example PS2
Is there a way to have the formula use the data in Cell A1 instead of hard coded the sheet name into the formula.
I have tried to play around with the Indirect() but due to the cell changing each time (eg GN56 and in the next cell GO56) I was unable to achieve the desired result.
Thanks for the help and support..
I have the following formula
=VLOOKUP($B53,Pricingsheet2006value,MATCH(PS2!GN56,Pricingsheet2006date,0)+1,FALSE)*GN59
and in the next cell
=VLOOKUP($B53,Pricingsheet2006value,MATCH(PS2!GO56,Pricingsheet2006date,0)+1,FALSE)*GO59
In Cell A1 I have the sheet name, in this example PS2
Is there a way to have the formula use the data in Cell A1 instead of hard coded the sheet name into the formula.
I have tried to play around with the Indirect() but due to the cell changing each time (eg GN56 and in the next cell GO56) I was unable to achieve the desired result.
Thanks for the help and support..