Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Replacing Table_array to a cell content

I need to create a vlookup formula that replaces the table-array parameter to
be the contents of a cell

A1 contents D1:E10

vloopkup (a2,"contents of A1 above",1,0)

How do I do it?

thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Replacing Table_array to a cell content

=VLOOKUP(A2,INDIRECT(A1),1,0)

note that it is volatile


--
Regards,

Peo Sjoblom



"toolate88" wrote in message
...
I need to create a vlookup formula that replaces the table-array parameter
to
be the contents of a cell

A1 contents D1:E10

vloopkup (a2,"contents of A1 above",1,0)

How do I do it?

thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Replacing Table_array to a cell content

thanks

"Peo Sjoblom" wrote:

=VLOOKUP(A2,INDIRECT(A1),1,0)

note that it is volatile


--
Regards,

Peo Sjoblom



"toolate88" wrote in message
...
I need to create a vlookup formula that replaces the table-array parameter
to
be the contents of a cell

A1 contents D1:E10

vloopkup (a2,"contents of A1 above",1,0)

How do I do it?

thanks




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Replacing Table_array to a cell content

"Peo Sjoblom" wrote...
=VLOOKUP(A2,INDIRECT(A1),1,0)

note that it is volatile

....

It take some work, but not a lot, for a nonvolatile work-alike. If there
were 29 or fewer ranges that would appear in A1, try a variation on

=VLOOKUP(A2,CHOOSE(MATCH(A1,{"G7:G12","G15:G20","H 7:H12","H15:H20"},0),
G7:G12,G15:G20,H7:H12,H15:H20),1,0)

This could bump into the limit on formula length.


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
copy comment content to cell content as data not as comment Lilach Excel Discussion (Misc queries) 2 June 21st 07 12:28 PM
replacing numbers in a cell catspore Excel Worksheet Functions 5 May 8th 07 04:34 PM
How do I reference a cell as PART of a vlookup "Table_Array" locat -Rocket Excel Worksheet Functions 2 January 4th 07 03:49 PM
In VLOOKUP how to pick Table_array value from a cell Amar Prasad Excel Worksheet Functions 1 June 22nd 06 12:34 PM
In VLOOKUP how to pick Table_array value from a cell Amar Prasad Excel Worksheet Functions 1 June 22nd 06 12:05 PM


All times are GMT +1. The time now is 05:29 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"