Results 1 to 8 of 8

Multi tier dependant drop down

Threaded View

Nixington Multi tier dependant drop down 04-06-2021, 06:33 AM
Pete_UK Re: Multi tier dependant drop... 04-06-2021, 06:47 AM
Nixington Re: Multi tier dependant drop... 04-06-2021, 06:55 AM
Pete_UK Re: Multi tier dependant drop... 04-06-2021, 08:14 AM
Nixington Re: Multi tier dependant drop... 04-06-2021, 10:44 AM
Pete_UK Re: Multi tier dependant drop... 04-08-2021, 06:20 AM
Nixington Re: Multi tier dependant drop... 04-08-2021, 09:12 AM
Pete_UK Re: Multi tier dependant drop... 04-08-2021, 05:20 PM
  1. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Multi tier dependant drop down

    Hi Jon,

    I've partially set this up for you in the attached file, and hopefully the explanation which follows will enable you to carry on with it.

    You will see in column A of the Ref_data sheet that I have listed all the Elements, and I have set up a named range using the heading in A1 (to do this, you just select all the cells in the range, i.e. A1:A12, and then click on Formulas and in the Defined Names section choose Create from Selection - a dialogue box will pop up and you should ensure that Top Row is checked and click OK). This enables me to set up a data validation drop-down in cell A21 of the Template sheet using as the Source =Element.

    I have then copied those individual categories of Element onto row 1 of the Ref_data sheet (well, the first 4 of them, anyway) and I've used a colour coding of white on a blue background for these sub-elements to help them stand out. Under each of these, I have listed the appropriate categories, so there are 4 types of Roof, two types of Walls, and so on. Then for each of those 4 types of Roof I have copied the cells into row 1 (and used a different colour coding again), so they can act as a named range for the Construction level of the hierarchy, so you can see there are 5 types of Flat Roof, and seven types of Pitched Roof, and so on. Each of these columns have been defined as named ranges, with the name in the top cell.

    When it comes to Walls, you had Cladding as a category in both sub-elements of External and Internal, and as you can't use the same name twice I've changed these to Cladding_Ext and Cladding_Int, as these have their own list of sub-categories (Description). So from that, hopefully you can work out what needs to be done with the rest of your data.

    Once that is all done, the rest of the Template sheet is already set up for you, with dependent drop-downs in cells B21, C21 and D21. These all use INDIRECT with the choice in the previous column (which is a named range) to give the appropriate choices in the drop-down, but there is one further consideration - spaces are not allowed within the names of named ranges, and Excel changes these to underscores automatically. So, we have to change any spaces to underscores and so the Source for these drop-downs is (in B21):

    =INDIRECT(SUBSTITUTE(A21," ","_"))

    and similar for C21 and D21. You need to ensure that there are no trailing spaces within your data on the Ref_data sheet. I've copied these DV drop-downs to row 145 of your table, so it is all set up for you. Note that I've only defined the 4th level of the hierarchy for Cladding_Int and Cladding_Ext.

    Hope this helps.

    Pete
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to calculate multi tier tariff?
    By jisharka in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-28-2020, 12:04 AM
  2. Multi Tier - Match & Vlookup or INDEX or INDIRECT function help needed
    By yogananda.muthaiah in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2016, 12:32 AM
  3. Multi tier lookup tables
    By buckobro in forum Excel General
    Replies: 5
    Last Post: 03-26-2015, 03:44 AM
  4. Multi Tier Chart Forumla
    By pg300 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-17-2012, 08:17 AM
  5. multi tier x axis
    By pg300 in forum Excel General
    Replies: 1
    Last Post: 09-01-2011, 10:49 PM
  6. Sum Multi tier selection
    By CLC in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2010, 08:16 AM
  7. A Limited Pick List - Multi Tier
    By ComcoDG in forum Excel General
    Replies: 5
    Last Post: 05-29-2008, 02:21 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