Even easier than easiest - Multi Level Dependent Drop Down Lists

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 74

  • @thebeginnerartist127
    @thebeginnerartist127 4 дні тому +4

    Great work mark, I tried to create a better version of DDL function, and this formula has two extra advantages over DDL function,
    First - It has no limits of levels, although 10 levels are more than enough, but still,
    Second - In DDL function, suppose user forgets to enter data of level 2, and is entering data in
    level 3, user gets to see the list of level 2, but using my formula, user will only be able to view list of the current level if he fills the data in previous levels properly,
    Formula -
    =LAMBDA(range,[level],[previous_levels],
    IF(ISOMITTED(level),
    LET(ref,MAP(range,LAMBDA(a,CELL("address",a))),
    formula,INDIRECT(CONCAT(INDEX(ref,1,1),":",INDEX(ref,COUNTA(CHOOSECOLS(ref,1)),1))),
    formula),
    LET(ref,MAP(range,LAMBDA(a,CELL("address",a))),
    l_array,BYROW(CHOOSECOLS(range,SEQUENCE(level-1,,1,1)),CONCAT),
    r_array,CHOOSECOLS(ref,level),
    formula,INDIRECT(CONCAT(XLOOKUP(previous_levels,l_array,r_array),":",XLOOKUP(previous_levels,l_array,r_array,,,-1))),
    formula)))
    Read these example formulas and you be able to understand arguments,
    Level 1 - DDL($R$1#)
    Level 2 - DDL($R$1#,2,A1)
    Level 3 - DDL($R$1#,3,A1&B1)
    Level 4 - DDL($R$1#,4,A1&B1&C1)
    Level 15 - DDL($R$1#,15,A1&B1&C1&D1&E1&F1&G1&H1&I1&J1&K1&L1&M1&N1&O1)
    I have made one another setup for this multiple level dropdown thing, and I think that is the best of all, please provide your mail so I can mail you file.

  • @colinhuntley9729
    @colinhuntley9729 11 днів тому +6

    wyn and yourself are really a couple of excel experts. thanks for all of your hardwork!

  • @Jim-zm6fw
    @Jim-zm6fw 10 днів тому +2

    Hi Mark: Thank you so much. I subscribe to both your and Wyn's websites and videos. You never cease to amaze me, and are certainly making me a better Excel user!!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  6 днів тому

      Wow, thank you! That is very kind of you to say. 😁

  • @McKaySavage
    @McKaySavage 9 днів тому +1

    Very cool direction for solving the challenge of dependent drop downs. Really like it!

  • @shabuthambi6512
    @shabuthambi6512 8 днів тому +1

    Excellent Excel off the grid. Job made easier!. Thanks for your hard work.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  6 днів тому

      You are welcome! I hope you can put it to good use.

  • @RichardJones73
    @RichardJones73 10 днів тому +1

    That was excellent work to come up with that Lambda function. Now I am gonna convert all my projects so that I have a use for multiple drop down lists :)

  • @AccessAnalytic
    @AccessAnalytic 10 днів тому +1

    Excellent 😀I realised one thing we need to call out is this only works on newer versions of 365 where the duplicates are automatically removed from the drop down.

  • @KrishnaKumar-zn9kg
    @KrishnaKumar-zn9kg 10 днів тому +1

    Love you guys! Super tip!

  • @stefankirst3234
    @stefankirst3234 11 днів тому +5

    Easy to use? YES! - Easy to understand? NO 🤯 - Thanks for sharing this!

  • @GrainneDuggan_Excel
    @GrainneDuggan_Excel 10 днів тому +1

    And we have a winner! 🎉🎉💥🌟✨️❤

  • @vacilando86
    @vacilando86 10 днів тому

    Woaw, that's another level trick, really liked it.

  • @johnjoecawleyie6004
    @johnjoecawleyie6004 5 днів тому +1

    Hi Mark, great videos from you and your mate. Is there any way we can add custom formatting to it, to highlight cells when they no longer match the preceding column?

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  5 днів тому

      Yes there is - see this: Don't trust data validation in Excel! | Excel Off The Grid
      ua-cam.com/video/YfQJ2BHGBJg/v-deo.html

  • @diannedrechsler4792
    @diannedrechsler4792 10 днів тому

    Wow! this is amazing! Thanks for sharing it. Love it.

  • @EricaDyson
    @EricaDyson 10 днів тому

    Nice. SVery nice indeed. Thanks for your hard work, creativity and sharing.

  • @kenthildebrand6362
    @kenthildebrand6362 11 днів тому

    Tested on Excel Online and Excel for Mac. The DDL function, once set up in a workbook in a compatible Windows Excel version, travels with the workbook. It appears to work fine in Excel online, but Excel for Mac had problems with it. In Excel for Mac, the drop down list contains the filtered array including al incidences of the filter values - it does automatically filter again to unique values. I tried using the UNIQUE function in various ways as a work-around with no success. The dynamic characteristics seem to work, the list is filtered to the correct values based on previous cells, but the drop down will list all of the incidents of the filtered values (the drop down list may contain only 3 unique values, but will also include all the repeats of those three values.). Won't work well on the Mac, especially with larger lists. Still a great technique if you are only working with a Windows or Online version of Excel. Thanks guys.

  • @arbazahmad7177
    @arbazahmad7177 10 днів тому

    Excellent..🎉 easier than ever... 🎉 thanks for sharing 😊

  • @RavneetSingh-rr6le
    @RavneetSingh-rr6le 7 днів тому +2

    🔥🔥🔥

  • @truewiking
    @truewiking 10 днів тому

    Great solution, 👏

  • @IvanCortinas_ES
    @IvanCortinas_ES 10 днів тому

    Mark absolutely in Magic mode! Don't miss it. Enjoy!!! Thanks for the early Christmas gifts...

  • @VideoAndrega
    @VideoAndrega 11 днів тому

    Thank for sharing this. Good job both of you.
    Nevertheless I replaced dropdown lists by slices because they allow me multiples sélections amon sublists and I do never need to limit the choice to a single item.

  • @chrism9037
    @chrism9037 11 днів тому +1

    Another great video, thanks Mark! Could you paste the code into the personal macro workbook, and then set up an icon on the QAT based on a macro, to be able to copy and paste from the personal macro workbook to any other workbook?

    • @DataVisualisation
      @DataVisualisation 11 днів тому +1

      ... I would install the Monkey from Ken Puls. Then you can save lambdas in the DB and insert them into any sheet you want. Monkey has the Lambda feature in the free version and is super easy to use.

  • @merriganman
    @merriganman 2 дні тому

    REALLY like the approach to this! So simple! Had a variation of Wyn's previous method as my go-to dropdown solution, but the hierarchy of the products I was working with required Multiple sheets of data validation. Only problem I've found with this is it doesn't like BLANKS too much. I have a column with a product attribute that is not applicable to some, so is just left blank. The DDL function returns "0" as the spilled range for the dropdown and requires that to be selected for the next dropdown to populate. Blank won't work. While "0" might technically be correct, it suggests that this product could possibly have this type attribute added to it in production when it cannot. Would there be a way to skip a lookup, ie. =DDL(Range, Lookup1, Lookup2, ,Lookup4) ?

  • @ahmedeid5381
    @ahmedeid5381 11 днів тому

    you're amazing ❤😊

  • @edme1055
    @edme1055 7 днів тому +1

    just WAAAAUW!

  • @DanThorne54
    @DanThorne54 4 дні тому

    Hi Mark @ExcelOffTheGrid - I love your awesome tutorials! I have a unique problem with my dependent drop-down list use case. I built a cartesian / cross-join table that has 5 columns and 43,399 records, containing all of the possible combinations. I read somewhere that data validations might be limited to 32,767 records, while trying to problem solve why only 10 of the 12 unique values appeared in the first column's drop-down list. I tried using both the "0234 Dependent drop-down lists" (as a Plan A) and the DDL custom function "0238 Even easier dependent drop down lists" (as a Plan B), with the same result. Do you think there's another workaround I could use to solve this?

  • @The1ShyButterfly
    @The1ShyButterfly 7 днів тому

    BRILLIANT 👏 👏 👏 Question: How can we include these DDL functions in our Personal Workbook (VBA)? so it is always available
    THANK YOU for your brilliant solutions, helping us to be more efficient ❤

  • @kdfarmery
    @kdfarmery 9 днів тому

    Hi Mark, thank you for this - this is going to save a lot of time - just one question, is it possible to embed these two functions within Excel? or is it a case of copying it from one workbook to another? Thanks again.

  • @esrAsnataS
    @esrAsnataS 10 днів тому

    That's quality.

  • @jenniferlee4557
    @jenniferlee4557 9 днів тому +1

    Is there a way to easily store the lambda formula so it's usable in multiple workbooks or do we need to add it to the name manager in each unique workbook?

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  9 днів тому

      They must be in the workbook so they travel with the workbook.
      We can create code to easily add them to workbooks at the click of a button.

  • @digitalmigrate9532
    @digitalmigrate9532 9 днів тому

    Is this available in the mastery course that you offer??

  • @KaanSiyasal
    @KaanSiyasal 11 днів тому

    Is it possible to insert/copy the function you created and posted in the video explanation to the personal macro workbook, so that it's available each and every workbook that has been opened, whether a new or pre-created??

  • @RavneetSingh-rr6le
    @RavneetSingh-rr6le 7 днів тому +1

    Does comment automatically get remove if attach a link with it ??

  • @katendefrancis6349
    @katendefrancis6349 3 дні тому

    Is this function only available to you? I cant seem to find it in my updated excel version

  • @cric8482
    @cric8482 11 днів тому

    Nice

  • @renewahner8086
    @renewahner8086 День тому

    Is it possible to make this solution, from a table who is always sorted, and from another sheet have a table with drop down dependency from the first table?

  • @DataVisualisation
    @DataVisualisation 11 днів тому

    ... great solution! ... but too bad that the Unpivot DropDownList Challenge has come to a (super) end 😢 ... understanding the LAMBDA solution will be a headache for some 😮 ... but maybe there will be an explanatory video for those ...

  • @stanTrX
    @stanTrX 11 днів тому

    Thank you. I suppose it keeos working even if you submit to online? For collabareted works. Another thing is, is it possible to hide your own custom functions like this if you share it?

  • @paulclarke4894
    @paulclarke4894 6 днів тому

    This is ok if you're running one of the latter versions of Office but it's not going to work on earlier versions that don't support Lambda functions that in the range name manager.

  • @XLarium
    @XLarium 11 днів тому +2

    I will wait for 3 months when you come up wtih an even better solution. 🙂

    • @RichardJones73
      @RichardJones73 10 днів тому

      Or wait 10 years before Microsoft create a new formula for just this

  • @YusufMumtaz
    @YusufMumtaz 10 днів тому +1

    You should license this to Microsoft.

  • @McIlravyInc
    @McIlravyInc 10 днів тому

    This matches the concept o have for how ddls work. I still don't understand why the sort order has to be a limitation. But then i am the sort of person that chains adapters together to hook up an old device to a new one. Hahahaha
    Can't you copy the functions into the default workbook so every new file will have them?

  • @AdamMarks
    @AdamMarks 10 днів тому

    My company is still on an older version of excel that isn't automatically created a "UNIQUE()" set of values for the drop down. Is there a way adjust the formula to create just a unique listing?

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  10 днів тому

      Unfortunately not - UNIQUE converts the range to an array - and the Data Validation list specifically requires a range.
      But at least you've got something to lookin forward to when the upgrade happens. 😁

    • @McIlravyInc
      @McIlravyInc 10 днів тому

      Hmmm.... can't you nest the array into another function to make a range? ...

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  7 днів тому

      Nesting in a function doesn’t help. It has to exist in the face of the worksheet.

  • @aliab2201
    @aliab2201 11 днів тому

    ❤❤❤

  • @777kiya
    @777kiya 11 днів тому

    It's easiest I've ever seen. Does the formula DDL work on earlier versions of excel?

    • @mramsch
      @mramsch 10 днів тому

      No, won't work as it depends on the LAMBDA function, first introduced in 2022 to Office 365 and recently to Excel 2024 (search for "What's new in Excel 2024 for Windows and Mac").

  • @renatovianello874
    @renatovianello874 9 днів тому +1

    {Mark,Wyn} = Excel Paramount

  • @sscire
    @sscire 10 днів тому

    Maybe I missed it in the presentation, ... but the three menus must contain the same number of items, each column ... or am I wrong?

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  10 днів тому

      As it's a parent/child relationship between each column (e.g. the parent of any item in column 3 is in column 2, and the parent of any item in column 2 is in column 1), then they will contain the same number of items by their nature.

  • @workstuff5253
    @workstuff5253 10 днів тому +1

    2 heads are better than 1

  • @giovannigraziani80
    @giovannigraziani80 8 днів тому

    Subtitle please!

  • @ciaucia156
    @ciaucia156 9 днів тому +2

    Classic blackbox - sorry

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  9 днів тому

      It is a black box if you have access to all the code. And all the parts of the code are documented and explained in hundreds/thousands of publicly available articles and videos?

  • @someguy2972
    @someguy2972 7 днів тому +1

    Bet ya $50 you can't do a video with 5 dependent drop down lists.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  6 днів тому +1

      Why? What makes you say that? Is the function not working correctly?

    • @someguy2972
      @someguy2972 6 днів тому

      @@ExcelOffTheGrid Nah I just haven't seen someone do that many haha!

    • @someguy2972
      @someguy2972 6 днів тому

      @@ExcelOffTheGrid You'd probably be the first on youtube to do it (if it can be done of course). ;)

    • @DanThorne54
      @DanThorne54 4 дні тому

      @@ExcelOffTheGrid I was able to make a 5 column dependent drop down list using this and an earlier tutorial! However, I'm stuck with what might be a drop-down list array record limit (details are in a reply off the root) that's only showing 10 of the 12 values that should appear in the first drop-down!

  • @JoseAntonioMorato
    @JoseAntonioMorato 11 днів тому

    Dear Mark,
    I didn't like two things about this video:
    1) The video didn't have subtitles and, as I don't speak English, I used the automatic translation into my language;
    2) I found LAMBDA very complicated and I prefer the method shown in the previous video. 🤗