+ Reply to Thread
Results 1 to 4 of 4

Lookup based on multiple dropdown selections

  1. #1
    Registered User
    Join Date
    01-02-2013
    Location
    Syst. orsias
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Lookup based on multiple dropdown selections

    Hello!

    I tried to search the forums and couldn't find something similar to what I'm looking for. Disclaimer: my searching skills aren't too good hehe

    Hopefully this can be done relatively easily... I'm running a car dealership's inventory who sell for multiple brands and I want a very quick and easy way to lookup a MSRP on any given model.

    I have a workbook with two worksheets: "Lookup" and "Data".

    So far, in Data, I have: Maker, Model, Trim Level, Model Year, MSRP, Notes. I may possibly add more details, such as transmission, additional packages, etc, but for now I'm satisfied with the information available.

    Obviously, the same maker may come up multiple times, same with multiple models (i.e. I have 15 Honda's, of which five of them are Civic Sedans, each with a different trim level). A specific maker, model and trim level may also be available in multiple model years (could have a 2014 and 2015 for instance).

    In "Lookup", I would like to be able to select a Maker and that based on this selection, the Model drop-down only shows the selected maker's car. Once I select the model, I want the same thing to happen with the trim level, and then the model year. Once all of it is done, I want to be able to VLOOKUP the MSRP, Notes and whatever other field I may want to add later.

    My problem is that I'm unsure how to, first, make a drop-down dependent on another and two, eliminate repeat entries (i.e. I've made the drop-down on makers but I have 15 times "Honda" appearing).

    Where should I start?cars_inventory.xlsx

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Lookup based on multiple dropdown selections

    For the Car maker model, you wouldn't really need to list the duplicated. You could make a named range that involves only one of each type of car. From there, the model, trim, and model year can be created using dependent named ranges.

  3. #3
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Lookup based on multiple dropdown selections

    I was curious myself about some aspects of this project, but believe I got it working. Take a look.
    Attached Files Attached Files

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup based on multiple dropdown selections

    Try this array formula in B8

    =INDEX(Data!E2:E55,SMALL(IF((Data!A2:A55=B3)*(Data!B2:B55=B4)*(Data!C2:C55=B5)*(Data!D2:D55=B6),ROW(Data!A2:D55)-1),1))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] Multiple graph selections using a dropdown list
    By John3828 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-24-2014, 02:49 PM
  2. [SOLVED] How to create a dynamic dropdown based on multiple lookup conditions
    By psilens in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-06-2014, 10:05 AM
  3. Autofilter Based on Dropdown menue selections
    By ghoneim in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2013, 11:46 AM
  4. Update dropdown list based on previous selections
    By darthlawb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2012, 10:51 AM
  5. [SOLVED] How can I allow users to make multiple selections from a dropdown.
    By Liz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2005, 05:15 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