+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : How to populate Drop Down LIst with Range Names

  1. #1
    Registered User
    Join Date
    01-20-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to populate Drop Down LIst with Range Names

    I have a work book with 10 range names, each representing blocks of cells. I am using a VLOOKUP formula and trying to use a drop down list of the 10 range names to populate the table array portion of the VLOOKUP formula. I keep getting an error. It appears that the data in the drop down list is just text and not the actual range of cells. Any sugestions would be appreciated. The VLOOKUP nworks fine when I type the range name directly into the formula.

    Thanks
    Last edited by KSams; 01-20-2012 at 12:45 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: How to populste Drop Down LIst with Range Names

    KSams,

    Welcome to the forum!
    It sounds to me like what you're looking for is the Indirect() function. Assuming you have the drop down list containing the range names in cell A1:
    =VLOOKUP("lookup value",INDIRECT(A1),2,FALSE)
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    01-20-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to populate Drop Down LIst with Range Names

    Tigeravatar,

    Thanks for the help. It now works as planned.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1