Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Vlookup -Want to make table of array optional

hi All,

Can anyone let me know how to make the table of array optional in
Vlookup formula.

thanks

Karthik

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup -Want to make table of array optional

Assume you mean make the table array flexible ?
You could use INDIRECT to string it up
Eg if you have named table arrays (eg: 1Base, 2Base, 3Base, etc)
and A2 house the value: 1 or 2 or 3, etc,
then something like this would work:
=VLOOKUP(K2,INDIRECT(A2&"Base"),3,0)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Karthik" wrote in message
oups.com...
hi All,

Can anyone let me know how to make the table of array optional in
Vlookup formula.

thanks

Karthik



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Vlookup -Want to make table of array optional

Hi Max,

Thanks a lot... Its working...

Regards,

Karthik
India

Max wrote:
Assume you mean make the table array flexible ?
You could use INDIRECT to string it up
Eg if you have named table arrays (eg: 1Base, 2Base, 3Base, etc)
and A2 house the value: 1 or 2 or 3, etc,
then something like this would work:
=VLOOKUP(K2,INDIRECT(A2&"Base"),3,0)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Karthik" wrote in message
oups.com...
hi All,

Can anyone let me know how to make the table of array optional in
Vlookup formula.

thanks

Karthik


  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup -Want to make table of array optional

You're welcome, Karthik !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Karthik" wrote in message
ups.com...
Hi Max,

Thanks a lot... Its working...

Regards,

Karthik
India



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 on pivot table results = #N/A Louis Excel Worksheet Functions 5 May 13th 23 07:43 PM
Vlookup in a pivot table Spidey Excel Worksheet Functions 3 November 13th 06 07:07 PM
Change value inside a table, vlookup doesn't recalc automatically XLNuckleHed Excel Discussion (Misc queries) 1 October 27th 06 06:28 PM
VLOOKUP - 3 Table Array tangomj Excel Worksheet Functions 1 August 1st 06 05:43 PM
vlookup returns last value in array Nicholas Scarpinato Excel Worksheet Functions 3 April 12th 06 06:59 PM


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