+ Reply to Thread
Results 1 to 15 of 15

Dependent Drop Downs

  1. #1
    Registered User
    Join Date
    07-16-2019
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Dependent Drop Downs

    Hi all,

    I am trying to get some help. My knowledge of excel is capped at around VLOOKUP, so not too great.

    I am trying to build a quoting system, whereby products can be found easily from supplier and category selections. As you can imagine suppliers will need to be electable for varying products, and most suppliers will have different category of products.

    I currently can do this using the following table headers:

    Supplier > Supplier_Category > Product Description/ Selection - this means that for each category of product i need to precede with the name of the supplier so that I don't have categories with the same name.[B]

    Supplier Supplier A Supplier A_Boiler Supplier A_Flue Supplier B Supplier B_Boiler Suppler B_Flue
    Supplier A Supplier A_Boiler Good Boiler Long Supplier B_Boiler 100 Boiler Long
    Supplier B Supplier A_Flue Med Boiler Med Supplier B_Flue 200 Boiler
    Supplier C Bad Boiler

    This looks a bit clumsy though, having the name of the supplier alongside the category when a supplier has already been selected What would be great is to be able to have the following option:

    Category >Supplier(same suppliers will be needed in different categories > Product Selection OR

    Supplier > Category > Product Selection

    I don't know if this makes sense to anyone!
    Last edited by AliGW; 07-16-2019 at 11:17 AM. Reason: Irrelevant section of title removed.

  2. #2
    Registered User
    Join Date
    07-16-2019
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: First Post: Dependent Drop Downs

    Sorry, that didn't look good in org post

    Supplier Supplier A Supplier A_Boiler Supplier A_Flue Supplier B Supplier B_Boiler Suppler B_Flue
    Supplier A Supplier A_Boiler Good Boiler Long Supplier B_Boiler 100 Boiler Long
    Supplier B Supplier A_Flue Med Boiler Med Supplier B_Flue 200 Boiler
    Supplier C Bad Boiler

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: First Post: Dependent Drop Downs

    Welcome to the forum.

    This is a very regular query. Here's a pretty recent thread on the same issue: https://www.excelforum.com/excel-gen...on-a-list.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    07-16-2019
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependent Drop Downs

    Thank you for the attached links. My main issue is that most of the suppliers have the same categories, which would need to be electable from a list.

    So the following:

    Supplier - Supplier A
    Category - Pipework - select from a list of products relating to this suppliers choice of pipework
    - Boilers
    - Fittings

    Supplier - Supplier B
    Category - Pipework - select from a list of products relating to this suppliers choice of pipework
    - Boilers
    - Fittings

    Right now the only way I can figure out how to do this is:
    Supplier - Supplier A
    Category - Supplier_Pipework
    - Supplier_Boilers

    Supplier - Supplier B
    Category - Supplier_Pipework
    - Supplier_Boilers

    I had hoped that maybe a IF function could be used, so if a certain supplier is selected the list will be from a certain table range for each supplier?

    Really am going around the houses and not getting anywhere.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Dependent Drop Downs

    Take a look at this file. Does this come anywhere close?? A sample excel file is hugely preferable to in-thread data
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    07-16-2019
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependent Drop Downs

    Apologies, i didn't think to add the file.

    please see attached
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Dependent Drop Downs

    Can you tell me the pasword??

  8. #8
    Registered User
    Join Date
    07-16-2019
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependent Drop Downs

    this worksheet isn't password protected. I'll upload again
    Attached Files Attached Files

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Dependent Drop Downs

    Noo!!!!! I have been working on it and don't intend to start all over again. I need the PW, ABSOLUTELY. You can PM it to me, if you feel you can't post it on the open forum..

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Dependent Drop Downs

    OK. I have killed 95% of your Named Ranges... Sorry!!

    I have created 4 new ones to replace them. They automatically adjust to take account of new entries for Job Type, Supplier, Category and Description. You'll find this MUCH easier to maintain (I hope...). You only have the thing populated for Valaint and BBS... so when you're looking at it, check only those ones.

    If it's doing what you want, I can explain what you need to do to adjust the Named Range for Description to accommodate category/descriptions for the other suppliers. You will NOT need to create any more Nmed Ranges to accommodate these additions.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-16-2019
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependent Drop Downs

    Thanks Glen, It appears to be doing what I have been pulling my hair out trying to achieve.

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Dependent Drop Downs

    Play with it some more. I can then explain the next steps. It has another advantage that I forgot to mention... It avoids the use of INDIRECT, which can slow things up, as INDIRECT recalculates every time something changes ont he sheet.

    I'm quite pleased with it, myself, TBH. I knew that the standard method for doing this was soooo limited and decided to come up with a better way of doing it, one rainy afternoon.

  13. #13
    Registered User
    Join Date
    07-16-2019
    Location
    England
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependent Drop Downs

    Without wanting to push my luck too far......if i wanted to add another sub category level in....say instead of in category where I have Boiler_Combi, Boiler_System, Boiler_Vent.....could i have Boilers in 'category' and then 'type' would be sub category where i can choose either combi, system, vent.

    This would really be helpful in the fittings really as I could break it down further by pipe size. As you say another of the suppliers is yet to be populated and they have 1000's of fittings

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Dependent Drop Downs

    Mmmm. Try V2...
    Attached Files Attached Files

  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Dependent Drop Downs

    I tweaked this a little this morning. I went back to using Tables, but ONLY two additional ones. It'll make expanding this much easier.
    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. Drop Down list dependent on 2 previous drop downs
    By mrkawht in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-16-2018, 02:39 PM
  2. [SOLVED] Dependent Drop-Downs
    By Rustico18 in forum Excel General
    Replies: 5
    Last Post: 03-09-2017, 12:14 AM
  3. Initial default drop downs and dependent default drop downs
    By hudsone777 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-07-2016, 07:05 PM
  4. Dependent Drop Downs
    By Bumblbree in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2016, 11:45 AM
  5. [SOLVED] Dependent drop downs
    By gameplayer in forum Excel General
    Replies: 2
    Last Post: 12-04-2015, 11:49 AM
  6. Dependent Drop-Downs
    By braydon16 in forum Excel General
    Replies: 2
    Last Post: 12-08-2011, 05:06 PM
  7. Dependent drop downs.
    By Mattypb in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-16-2009, 08:47 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