#1   Report Post  
snake
 
Posts: n/a
Default VLOOKUP

Hi, I need some help with a Vlookup that im trying to make for a list of
"table array" names that i have in another column.

The function needs to search the name of the table to work properly but it
can not recognize the table name as a text or function constant...Im doing
this to avoid writting function by function the name that each one needs....

Column A
Column B
1 =VLOOKUP(Day+E9;TBL_one;2;"FALSE") TBL_one
2 =VLOOKUP(Day+E9;TBL_two;2;"FALSE") TBL_two
3 =VLOOKUP(Day+E9;TBL_three;2;"FALSE") TBL_three
4 =VLOOKUP(Day+E9;TBL_four;2;"FALSE") TBL_four

I have tried some ways to do it but still can not recognize the reference
1.) I have written the (x,y) position of the table name.
=VLOOKUP(Day+E9;B1;2;"FALSE") B1=TBL_one ......didnt work

2) Making the name using TBL & name.....didnt work

3) Using the TEXT(B1) function worked but brings the name with double
quotation marks ...as "TBL_one" and needs to come clean

Any help would be really apreciated
  #2   Report Post  
Max
 
Posts: n/a
Default

"snake" wrote:
... =VLOOKUP(Day+E9;B1;2;"FALSE")
B1=TBL_one ......didn't work


You need to use INDIRECT ..

Try this: =VLOOKUP(day+E9,INDIRECT(B1),2,0)
where B1 contains: TBL_one

Or, with commas replaced by semicolons to suit your settings:
=VLOOKUP(day+E9;INDIRECT(B1);2;0)

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #3   Report Post  
snake
 
Posts: n/a
Default

THANKS 4 your time Max, it works perfect

"Max" wrote:

"snake" wrote:
... =VLOOKUP(Day+E9;B1;2;"FALSE")
B1=TBL_one ......didn't work


You need to use INDIRECT ..

Try this: =VLOOKUP(day+E9,INDIRECT(B1),2,0)
where B1 contains: TBL_one

Or, with commas replaced by semicolons to suit your settings:
=VLOOKUP(day+E9;INDIRECT(B1);2;0)

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--



  #4   Report Post  
Max
 
Posts: n/a
Default

Glad to hear that !
Thanks for the feedback ..
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"snake" wrote in message
...
THANKS 4 your time Max, it works perfect



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 single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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