formula range

A

ADK

is there any way to make A2 in the formula a function of a cell value?

=VLOOKUP($B$1,A2:D1969,3,FALSE)


Example: if F1 = the value of: "A50"

So the formula in A1 would be:

=VLOOKUP($B$1,A50:D1969,3,FALSE)
 
R

Roger Govier

Hi

Try
=VLOOKUP($B$1,INDIRECT("'"&F1&"'!:D1969"),3,FALSE)

Note the quotes
" ' "&F1& " ' !:D1969"
 
B

bj

I don/t think the ' and ! should be there.
This is a cell reference, not a sheet reference

Is there a benefit, I am not aware of?
 
S

ShaneDevenshire

Hi,

Here is a slightly simplier formula:

=VLOOKUP($B$1,INDIRECT(F1&":D1969"),3,FALSE)
 
R

Roger Govier

You are quite correct. My mistake.
So used to dealing with sheets, I type it automatically<g>
 
Top