Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Are multiple Vlookup's possible?


Hi all,

i am using this =VLOOKUP(F1,TiedEquip,4,FALSE) on my worksheet and it
is located in D1, what i would like to do is a VLookup like
this.....=VLookup(F1,C1 ,4,FALSE), where C1 on the same sheet would be
the name of the named range to look at, this way i can have a drop down
list of names which would change the contents of D1 based on the value
in F1 because as i change the name in C1 it would look to a different
named range!

Don't know whether i was clear explaining that.....but is it possible?

Regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=546307

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Are multiple Vlookup's possible?

Use the INDIRECT function

=VLookup(F1,INDIRECT(C1) ,4,FALSE)

This will cause VLOOKUP to scan the table whose name or address
is in C1.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Simon Lloyd"
wrote
in message
...

Hi all,

i am using this =VLOOKUP(F1,TiedEquip,4,FALSE) on my worksheet
and it
is located in D1, what i would like to do is a VLookup like
this.....=VLookup(F1,C1 ,4,FALSE), where C1 on the same sheet
would be
the name of the named range to look at, this way i can have a
drop down
list of names which would change the contents of D1 based on
the value
in F1 because as i change the name in C1 it would look to a
different
named range!

Don't know whether i was clear explaining that.....but is it
possible?

Regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile:
http://www.excelforum.com/member.php...fo&userid=6708
View this thread:
http://www.excelforum.com/showthread...hreadid=546307



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Are multiple Vlookup's possible?

=VLookup(F1,INDIRECT(C1) ,4,FALSE)

should be what you need

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Simon Lloyd"
wrote in message
...

Hi all,

i am using this =VLOOKUP(F1,TiedEquip,4,FALSE) on my worksheet and it
is located in D1, what i would like to do is a VLookup like
this.....=VLookup(F1,C1 ,4,FALSE), where C1 on the same sheet would be
the name of the named range to look at, this way i can have a drop down
list of names which would change the contents of D1 based on the value
in F1 because as i change the name in C1 it would look to a different
named range!

Don't know whether i was clear explaining that.....but is it possible?

Regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile:

http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=546307



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Are multiple Vlookup's possible?


Thanks to Chip and Bob.............worked well!

Regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=546307

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
multiple vlookup's sabbathnut Excel Worksheet Functions 5 March 10th 07 04:11 PM
Vlookup's in macros Desiree Excel Discussion (Misc queries) 3 February 1st 07 06:48 PM
VLOOKUP's Aikisteve Excel Worksheet Functions 4 July 31st 06 02:26 PM
Nested If with VLOOKUP's and AND function GBO Excel Worksheet Functions 1 August 18th 05 11:57 PM
Nested If with VLOOKUP's... I think! PeterManner Excel Worksheet Functions 1 August 4th 05 09:58 PM


All times are GMT +1. The time now is 10:06 AM.

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"