#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ADK ADK is offline
external usenet poster
 
Posts: 89
Default formula range

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)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default formula range

Hi

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

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

--
Regards

Roger Govier


"ADK" wrote in message
...
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)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default formula range

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?

"Roger Govier" wrote:

Hi

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

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

--
Regards

Roger Govier


"ADK" wrote in message
...
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)




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default formula range

Hi,

Here is a slightly simplier formula:

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

--
Cheers,
Shane Devenshire


"ADK" wrote:

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)



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default formula range

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

--
Regards

Roger Govier


"bj" wrote in message
...
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?

"Roger Govier" wrote:

Hi

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

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

--
Regards

Roger Govier


"ADK" wrote in message
...
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)








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ADK ADK is offline
external usenet poster
 
Posts: 89
Default formula range

Thanks...this one worked great!




"ShaneDevenshire" wrote in
message ...
Hi,

Here is a slightly simplier formula:

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

--
Cheers,
Shane Devenshire


"ADK" wrote:

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)





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a range name in formula ScottG Excel Discussion (Misc queries) 1 March 28th 07 02:47 AM
conditional formula: sum a range if text present in another range NeedAdvice777 Excel Discussion (Misc queries) 10 August 29th 06 04:51 PM
formula to sort a range so that it matches the exact rows of a column that is outside that range? steveo Excel Discussion (Misc queries) 1 June 18th 06 02:05 AM
Formula for a new range..... mrmagoo Excel Discussion (Misc queries) 1 June 8th 06 11:04 PM
Sum Formula that excludes other sum formula in range Andy Excel Worksheet Functions 1 March 1st 06 08:26 PM


All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"