+ Reply to Thread
Results 1 to 6 of 6

Dependent Drop Down Lists

  1. #1
    Registered User
    Join Date
    07-18-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    3

    Dependent Drop Down Lists

    I am having an issue creating dependent drop down lists. I have created a quote template (on tab 1) and would like to use drop down lists to fill in the customer information. On the second tab, I have four columns (company, contact, address, city/state/zip). I have defined the name for each column. The rows below are populated with end user information.
    On the quote tab, I created a drop down list (cell D4) for "company" (using data validation). That works fine. When I try to create the next dependent drop down list, no data transfers over. In cell D5, with data validation, I chose list and typed =indirect(d4). I do get a drop down arrow for this but no information comes up.
    I have also tried VLOOKUP but, as before, no data transfers over. The drop down arrown is blank. I am not sure what I am doing wrong. If anyone has suggestions, I would be greatly appreciative.
    Leiser

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dependent Drop Down Lists

    dependent drop down lists rely on you having created all the various possible names ranges. Your question implies you really only want to "lookup matching data" based on a selection made from a single drop down. You'll have to show us your data and drop downs for us to really see what you're trying to do. Be sure to mockup a manual "results" if possible so we can see the goal.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-18-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Dependent Drop Down Lists

    I have attached a demo file of what I am trying to do. The first tab is the actual quote and the second tab contains the information that I want to pull from. Idealy, I would like to have the first drop down in the D4 cell on tab one and the corresponding information (contact, address, etc) in a pull down or autofilled below that. Let me know if this attachment helps.
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dependent Drop Down Lists

    You don't have any drop downs anywhere. Put a Data Validation List = CompanyName onto cell D4.
    Then formulas do the rest of the work. In D5:

    =IF($D$4="", "", INDEX(ContactName, MATCH($D$4, CompanyName, 0)))

    Just copy that down and change the ContactName to CityStateZip or whatever is needed in each cell.

  5. #5
    Registered User
    Join Date
    07-18-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Dependent Drop Down Lists

    JBeaucaire
    Thank you so much for your help. That totally did the trick. I will have to do a little more research on formulas before I try this again.
    Thanks,
    Leiser

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Dependent Drop Down Lists

    Hello Leiser, and welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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