+ Reply to Thread
Results 1 to 3 of 3

Excel drop down list that filters applicable results

  1. #1
    Registered User
    Join Date
    12-11-2014
    Location
    Michigan
    MS-Off Ver
    2010
    Posts
    21

    Excel drop down list that filters applicable results

    I have created a simplified example of what I would like to do.

    1. There is a list of names and an associated car for each name. Some people may own multiple cars so in these cases there are there are multiple entries.
    2. In another section of the spreadsheet, I need to enter a person's name. I would like to create a drop-down list (or some other filtering tool) that provides a list of options for the cars that person owns. I would like the ability to select one of the cars.

    I know I could create a column for each name and list the cars under the applicable name and then name the range. In the Data Validation formula I could use an if statement to reference the correct list. **This is a simplified example of what I am trying to do. In my real life application, I am dealing with ~100 names. I don't think this approach will work.**

    Here's the example. I have also attached a spreadsheet.

    1. List
    Arthur Golf
    Jack Highlander
    Jill Escape
    Jack Sienna
    Arthur Mini Cooper
    Jack Outback

    2. In another section of the spreadsheet I want to enter the names and have a filter provide the following:

    Arthur: formula for dropdown list to select "Golf" and "Mini Cooper"
    Jill: formula for dropdown list to select "Escape"
    Jack: formula for dropdown list to select "Highlander" and "Outback"
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: Excel drop down list that filters applicable results

    Look at the example found here
    http://www.contextures.com/xlDataVal13.html#Create
    Down load the example and change the values in the ranges, and see how it works.

    I have downloaded Debs wb and changed the data to show you what I am talking about.
    Attached Files Attached Files
    Last edited by davesexcel; 12-30-2014 at 11:21 AM.

  3. #3
    Registered User
    Join Date
    12-11-2014
    Location
    Michigan
    MS-Off Ver
    2010
    Posts
    21

    Re: Excel drop down list that filters applicable results

    Dave, your example worked great!
    I have one other question. Is there a way to always add a category of "other" in the drop down list? I was hoping I could do this in the data validation formula (offset(RegionStart, MATCH(B2,RegionColumn,0)-1,1,countif(RegionColumn,B2),1)

    I want the results to be filtered but in my example above I want the following:
    Arthur: formula for dropdown list to select "Golf", "Mini Cooper", "Other"
    Jill: formula for dropdown list to select "Escape", "Other"
    Jack: formula for dropdown list to select "Highlander", "Outback", "Other"

    Thanks!

+ 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] Display results from a list based on multiple column filters.
    By Snoddas in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-12-2014, 12:41 AM
  2. Drop Down list on 1 Sheet, filters all other sheets
    By audan2009 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 01:24 PM
  3. Error when feeding pivot filters from drop down list
    By icyrius in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-18-2013, 03:18 PM
  4. Pivot Table Drop Down List (filters)
    By ndreid in forum Excel General
    Replies: 2
    Last Post: 08-22-2012, 01:52 PM
  5. I need a drop down list that auto completes and filters at the same time
    By TranceDiablo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-01-2011, 09:06 AM

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