+ Reply to Thread
Results 1 to 3 of 3

Dynamic Dependent Dropdown Lists that populate based on matching rows within table

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

    Unhappy Dynamic Dependent Dropdown Lists that populate based on matching rows within table

    So, I've spent the better part of a day working on this to no avail. I'm trying to figure out a way to do dynamic dependent dropdown lists without using macros.

    Here is my case:

    I have a table full of products with fields like supplier, category, item description, and pricing.

    I have a separate table that the user will be manipulating to create a Job Estimate. The idea is that the user adds items to the job estimate from the products table by using drop-down menus. Since the products database has hundreds of entries, I want to use cascading dependent dropdown lists to populate the job estimate table.

    The flow should be as follows:
    • First column: User selects a supplier from the dropdown list of suppliers
    • Second column: User selects a category from a dropdown list that is dynamically populated based on the choice made in the 1st column
    • Third column: User selects an item from the dropdown list that is dynamically populated based on the choices made in the first two columns

    Note: this essentially means that all the cells in the first column have data validation of supplier names, but all the rest of the cells in the job estimate table have data validation that is dynamically populated based on the values in the adjacent cells.


    I think what my question boils down to is:

    Is there some way that I can retrieve the reference to the intersection of matching rows in a table and a certain table column. i.e. returning by reference the intersection of, say, rows 9 and 10 with column C.

    I've attached a spreadsheet that represents a basic version of what I want that shows the desired workflow.

    Any insights would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-30-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Dynamic Dependent Dropdown Lists that populate based on matching rows within table

    Mac,

    This should get you started. Maybe someone else can pick up from here. What I do not know how to do is to have the items dependent on both supplier and category. I basically only know how to have it work where all electrical items are available, regardless of the supplier.

    You should like at the named ranges I defined and then also look at the data validation references to see how I did this.

    You will notice the setup for the data validations is on the "lists" sheet.


    Cascading Dropdowns.xlsx

  3. #3
    Forum Contributor
    Join Date
    03-17-2005
    Location
    Canterbury, Kent
    MS-Off Ver
    2003, 2010
    Posts
    285

    Re: Dynamic Dependent Dropdown Lists that populate based on matching rows within table

    Have added a lists sheet and named ranges.

    Used the indirect function and substitute function in the data validation.

    Just adjust ranges to suit your needs.

    Windy
    Attached Files Attached Files

+ 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. Problem with Dependent Dropdown Lists Being DYNAMIC
    By b624333 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2014, 04:50 PM
  2. [SOLVED] Selecting a table based on two dropdown lists.
    By nudiekap in forum Excel General
    Replies: 7
    Last Post: 02-18-2014, 11:40 AM
  3. Multiple Rows and Columns in Dependent Dropdown Lists
    By JS1990 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2013, 08:23 PM
  4. [SOLVED] Dependent drop down lists based on dynamic data range
    By strud in forum Excel General
    Replies: 15
    Last Post: 04-19-2013, 08:08 AM
  5. Return all matching rows of a table based on dropdown cell
    By excelling@excel in forum Excel General
    Replies: 1
    Last Post: 12-02-2012, 09:32 PM

Tags for this Thread

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