+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP using dropdown list for table array

  1. #1
    Registered User
    Join Date
    06-28-2007
    Posts
    69

    VLOOKUP using dropdown list for table array

    I would like to creat some sort of formula similar to a VLOOKUP where a cell reference to a dropdown list can be used to alter the location of where to cross reference.

    I have multiple name defined ranges in a dropdown which would be used for the table array part of the formula. However, I only get errors with the current formula. Hope this makes sense. I have attached an example that might help.

    Thanks,
    Mike
    Attached Files Attached Files
    Last edited by mpquin; 10-28-2009 at 09:26 AM. Reason: Solved

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLOOKUP using dropdown list for table array

    Try:

    =VLOOKUP(C4,INDIRECT(B4),2,0)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-29-2010
    Location
    Kyle, Texas
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: VLOOKUP using dropdown list for table array

    Quote Originally Posted by NBVC View Post
    Try:

    =VLOOKUP(C4,INDIRECT(B4),2,0)
    This was EXTREMELY helpful NBVC. Thank you guru's for all you do to help us beginners out.
    David

  4. #4
    Forum Contributor
    Join Date
    03-09-2012
    Location
    Isle of Man
    MS-Off Ver
    Excel 2010
    Posts
    118

    Re: VLOOKUP using dropdown list for table array

    Hi, The above has helped me but the dropdowns I am using are on a form that people will sign. Using the above formulas means that the dropdown people select would have to be written in the array format. So say for example I had postage charges based on where people live. People selected their county, state or whatever in the dropdown the charges would appear. I don't want people to have to see IsleofMan as an option. I would like them to be able to select 'Isle of Man' i.e. with spaces between words.

    Is there anyway that I can use the above formula but make B4 look pretty when selecting the dropdown? In the example spreadsheet above the option would be week1 on the dropdown whereas I would like people to be able to select Week 1 (with a space).

    Any help you could give me would be greatly appreciated.

    Thanks

    Dec

+ 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