+ Reply to Thread
Results 1 to 4 of 4

Multi level lookup based on dependent dropdowns.

  1. #1
    Registered User
    Join Date
    09-10-2021
    Location
    Fayetteville, AR
    MS-Off Ver
    365
    Posts
    2

    Multi level lookup based on dependent dropdowns.

    Capture.PNG

    New to the forum so sorry if this is in the wrong spot! Sample workbook has been added to attachments.

    It is exhausting constantly looking through price books so was wanting to generate an easier way to lookup prices based on drop down (data validation) criteria.

    Drastically reduced the size for this example, total sheet is >8000 cells deep. Also the descriptions need to be cleaned up but not focused on that right now.

    Ideally I'd like to have the first dropdown list:
    BLKPIPE
    FITTINGS - BRASS
    FITTINGS - STAINLESS

    If "BLKPIPE" is selected in the first then I'd like it to generate the below in the next drop down:
    PIPE
    BUSHING
    FLANGES

    If "PIPE" is selected then the next dropdown will populate:
    1/2" PIPE
    3/4 PIPE
    1 1/2 x 2
    2 x 8

    If "1/2" pipe is selected then generate price of .77 I'll then take that cell to an estimate page and generate a total price based on "qty" or Length"

    I've done a lookup before with combos of "if, match, offset" statements but the sheer size of this thing is daunting. May even be in a VBA range which I'm not too familiar with.

    For the most part it is a 3 description path to get to the price but a few oddballs have 4 and a single one has 5.

    Any easy way to do this?
    Attached Files Attached Files
    Last edited by BC3MF; 09-10-2021 at 03:35 PM. Reason: Add attachments

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,258

    Re: Multi level lookup based on dependent dropdowns.

    Please see yellow banner at top of page on how to post a sample workbook.

  3. #3
    Registered User
    Join Date
    09-10-2021
    Location
    Fayetteville, AR
    MS-Off Ver
    365
    Posts
    2

    Re: Multi level lookup based on dependent dropdowns.

    Sample workbook has been added.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Multi level lookup based on dependent dropdowns.

    The following changes the format of the data and utilizes three types of data validation.
    1. The data is formatted into records with each row containing the three descriptions and a price without blanks spaces
    2. The data validation for Description 1 is: =$L$2:$L$4
    3. The data validation for Description 2 is: =INDIRECT(SUBSTITUTE(G$2," - ",""))
    4. The data validation for Description 3 is: =OFFSET(C$1,AGGREGATE(15,6,(ROW(C$2:C$40)-ROW(C$1))/(A$2:A$40=G$2)/(B$2:B$40=H$2),1),0,COUNTIFS(A$2:A$40,G$2,B$2:B$40,H$2))
    5. The formula to find the price is: =INDEX(D2:D40,AGGREGATE(15,6,(ROW(D2:D40)-ROW(D1))/(A2:A40=G2)/(B2:B40=H2)/(C2:C40=I2),1))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Multi dependent dropdowns with auto-generated cell
    By AlPragOrg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-22-2021, 11:24 AM
  2. [SOLVED] multi level dependent drop down list
    By (T_T) in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2020, 06:02 AM
  3. [SOLVED] Multi Level Dependent Drop Down Lists
    By mysticmoron109 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-03-2015, 03:35 PM
  4. [SOLVED] lookup list off of dependent dropdowns
    By kriminaal in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-02-2013, 01:37 PM
  5. Multi Level Dependent Drop-down list, Explanation required
    By Shoieb.arshad in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-31-2012, 11:36 AM
  6. Excel 2007 : multi level dependent list
    By MWinder in forum Excel General
    Replies: 3
    Last Post: 05-12-2010, 11:31 AM
  7. Multi-level dependent lists
    By aussiemate in forum Excel General
    Replies: 6
    Last Post: 02-25-2010, 04:02 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