#1   Report Post  
Posted to microsoft.public.excel.misc
A A is offline
external usenet poster
 
Posts: 37
Default vlookup table_array

Hi all
my vlookup formula uses a named range (eg keep in the formula below) as the
table array. Is there any way of putting the name of the range as text in
cell A2 and linking A2 in the vlookup?

=VLOOKUP(A1,keep,2,FALSE)
=VLOOKUP(A1,?+A2?,2,FALSE)

Thanks
Ade
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default vlookup table_array

Hi,

Use indirect

=VLOOKUP(2,INDIRECT(C1),2,FALSE)

Where c1 is your table name

Mike

"A" wrote:

Hi all
my vlookup formula uses a named range (eg keep in the formula below) as the
table array. Is there any way of putting the name of the range as text in
cell A2 and linking A2 in the vlookup?

=VLOOKUP(A1,keep,2,FALSE)
=VLOOKUP(A1,?+A2?,2,FALSE)

Thanks
Ade

  #3   Report Post  
Posted to microsoft.public.excel.misc
A A is offline
external usenet poster
 
Posts: 37
Default vlookup table_array

Thanks for the quick response Mike

"Mike H" wrote:

Hi,

Use indirect

=VLOOKUP(2,INDIRECT(C1),2,FALSE)

Where c1 is your table name

Mike

"A" wrote:

Hi all
my vlookup formula uses a named range (eg keep in the formula below) as the
table array. Is there any way of putting the name of the range as text in
cell A2 and linking A2 in the vlookup?

=VLOOKUP(A1,keep,2,FALSE)
=VLOOKUP(A1,?+A2?,2,FALSE)

Thanks
Ade

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default vlookup table_array

You would use INDIRECT to do this:

=VLOOKUP(A1,INDIRECT(A2),2,FALSE)

This assumes that keep is in the same workbook, as INDIRECT will only
work with workbooks that are open - if it is in a different workbook
which is open, you will need to include the filename in A2.

Hope this helps.

Pete

On Jul 31, 11:48 am, A wrote:
Hi all
my vlookup formula uses a named range (eg keep in the formula below) as the
table array. Is there any way of putting the name of the range as text in
cell A2 and linking A2 in the vlookup?

=VLOOKUP(A1,keep,2,FALSE)
=VLOOKUP(A1,?+A2?,2,FALSE)

Thanks
Ade



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default vlookup table_array

I'm trying to do the same thing except I'm referencing a range in a different
worksheet. It works if the other worksheet is open but I need it to work with
it closed.

Thanks


--
Hold On Everybody!


"Pete_UK" wrote:

You would use INDIRECT to do this:

=VLOOKUP(A1,INDIRECT(A2),2,FALSE)

This assumes that keep is in the same workbook, as INDIRECT will only
work with workbooks that are open - if it is in a different workbook
which is open, you will need to include the filename in A2.

Hope this helps.

Pete

On Jul 31, 11:48 am, A wrote:
Hi all
my vlookup formula uses a named range (eg keep in the formula below) as the
table array. Is there any way of putting the name of the range as text in
cell A2 and linking A2 in the vlookup?

=VLOOKUP(A1,keep,2,FALSE)
=VLOOKUP(A1,?+A2?,2,FALSE)

Thanks
Ade




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
vlookup with dynamic table_array Jim Toohey Excel Worksheet Functions 3 November 10th 06 10:46 PM
Vlookup with function in table_array JoshuaEyer Excel Worksheet Functions 2 October 15th 05 03:49 PM
VLOOKUP TABLE_ARRAY veljo Excel Worksheet Functions 6 April 1st 05 12:28 AM
vlookup with table_array constructed from mid formula JulieD Excel Worksheet Functions 7 December 17th 04 06:22 AM
vlookup template -> table_array martinbr Excel Worksheet Functions 1 November 20th 04 04:53 PM


All times are GMT +1. The time now is 08:42 PM.

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

About Us

"It's about Microsoft Excel"