+ Reply to Thread
Results 1 to 6 of 6

Three-layer dependent dropdown with validation query

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    48

    Three-layer dependent dropdown with validation query

    I need to create three drop down lists, with the second dependent on the choices in the first and the third dependent on the choices in the second. This is proving to be quite difficult and takes a lot of processing the way I'm going about it (most likely the wrong way).

    My data looks like this:

    A B C
    Macintosh Apple Fruit Apple
    Fuji Apple Fruit Apple
    Manzano Banana Fruit Banana
    Baby Banana Fruit Banana
    Sweet peas vegetables peas
    T-bone meat beef
    Snow peas vegetables peas
    Roma Tomato vegetables Tomato
    Mandarin Orange Fruit Orange


    The data is presented to me with the most narrowly defined column first, then the most general, then more defined.

    What I need is the user to select (on a separate worksheet from the data) the category from column B, then the type from column C, then the specific item from column A. Each selection is dependent on the earlier selection, so that choice 1 (column B) determines the options for choice 2 (column C), which determines the options for choice 3 (Column A).

    I asked a similar question in this thread, but turns out my problem is a bit more difficult than I had thought.

    Any ideas?

    Also, I think I found that "VLOOKUP" has a problem where it is unable to match data from the first column based on data in a second or third column. For instance, in the above example, if I asked VLOOKUP to look for "Apple" and give me values in column A that contain "Apple" in column C, all I get is "#N/A".

    However, I don't know if the VLOOKUP problem is due to having more than 1 match in that column?
    Last edited by SandPounder1; 02-24-2014 at 06:28 PM. Reason: linked reference thread

  2. #2
    Registered User
    Join Date
    02-06-2014
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Three-layer dependent dropdown with validation query

    Yes, it's stumping me too.

  3. #3
    Registered User
    Join Date
    02-25-2014
    Location
    Finger lakes , NY
    MS-Off Ver
    Excel 2007, 2010
    Posts
    1

    Re: Three-layer dependent dropdown with validation query

    maybe a pivot table could help
    I built this by taking your data and inserting pivot table
    Capture.JPG

  4. #4
    Registered User
    Join Date
    02-06-2014
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Three-layer dependent dropdown with validation query

    Drat. I've been avoiding learning pivot tables. Looks like I've reached the end of that procrastination.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Three-layer dependent dropdown with validation query

    Here is a solution for you.

    I re-arranged your data to go from a broad class to a specific class so that as choices are made, the choices become more and more specific.

    The data is in a table on Sheet2. I colour coded the data to try and show how the columns of the table were arranged and where the data came from under each heading.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    02-06-2014
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Three-layer dependent dropdown with validation query

    Thanks! Sorry for the late response, I've been on vacation for over a week without access to the internet. Looks good!

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Three-layer dependent dropdown with validation query

    Thanks for the feedback.

+ 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 conditional/dependent dropdown integrating a validation query
    By SandPounder1 in forum Excel General
    Replies: 4
    Last Post: 02-21-2014, 06:01 PM
  2. [SOLVED] Dependent dropdown validation - dependent data is string
    By jnewby in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 07:50 PM
  3. [SOLVED] Counting unique entries only once & 3rd layer of dependent choices
    By ObiWanBaloney in forum Excel General
    Replies: 0
    Last Post: 06-04-2012, 06:16 PM
  4. 4 way dependent dropdown/data validation
    By Cidona in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-19-2012, 06:58 AM
  5. Excel 2007 : Dependent Dropdown (Data Validation)
    By mtpr220 in forum Excel General
    Replies: 16
    Last Post: 08-10-2011, 12:58 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