+ Reply to Thread
Results 1 to 3 of 3

use vlookup to create a dropdown list

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    Edmonton, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    29

    Red face use vlookup to create a dropdown list

    Searched and searched but could not find a similar problem.

    I have a list of site operators. Each site operator runs a number of sites. I have a dropdown list to choose the site operator. I am trying to create the second dropdown list based upon the first.

    List 1 = Site Operator (user chooses an operator)
    List 2 = List of sites run by that operator (user chooses one of the sites operated)

    I only want list 2 to show the sites operated by the operator chosen in list 1.

    This has to be a vlookup solution but I am having trouble understanding the syntax for the formula?

    Here is a small sample file. If I choose Jones in list 1, I only want list 2 to show "Site J1, Site J2.

    Thanks to everyone for the help. Each solved problem makes me better at this!!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-03-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    75

    Re: use vlookup to create a dropdown list

    Comme ca?

    This might not be how you wanted to do it, but I think this is the desired result, no?

    List your operators under the "OPERATORS".
    List each of their possible sites under the heading of their name (Make it identical to how you presented it under the OPERATORS heading, spelling punctuation etc).
    When finished all lists highlight the operators list including header; under the Formulas tab click "Define Name"; under "Refers to:" make sure the rage is all of the operator names.
    Repeat this process for each operator name making sure that the "Refers to:" references all the Site possibilities.

    For Dropdown 1 use data validation to create a list; for source write =OPERATORS
    For Dropdown 2 same idea; Surce: =INDIRECT(The cell where you have dropdown 1)
    Attached Files Attached Files
    Last edited by prjt; 04-28-2014 at 04:16 PM.

  3. #3
    Registered User
    Join Date
    10-10-2013
    Location
    Edmonton, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: use vlookup to create a dropdown list

    This helped a lot!! Had some naming convention problems but worked them out.

    Where would we be without the help of others. Greatly appreciated!!

    Dragman

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Create a dropdown list
    By mukeshbaviskar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-12-2013, 08:59 PM
  2. VLookup - Create price list from dropdown bar
    By intrepidtravler in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-06-2013, 04:40 PM
  3. UDF to create a dropdown list?
    By jammie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-08-2010, 08:33 AM
  4. Create a dropdown list
    By johankotze in forum Excel General
    Replies: 6
    Last Post: 05-17-2010, 07:19 AM
  5. Replies: 10
    Last Post: 03-19-2007, 11:30 PM

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