Two Drop Lists in A Single Cell - Amazing Data Validation

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • In this tutorial I show you how to create two drop lists in One Single cell.

Комментарии • 25

  • @svenh5752
    @svenh5752 7 месяцев назад +3

    Thanks for this tip! I think I have managed to improve it a little by including in the "Managers" list a jump to the "AllEmployees" list. Also, I supplemented the list names with down arrows so it resembles the look in your introduction. The condition thus became: =IF(B1="Managers ▼",Managers,AllEmployees)

    • @Officeinstructor
      @Officeinstructor  7 месяцев назад +1

      Nice work!

    • @svenh5752
      @svenh5752 7 месяцев назад

      @@OfficeinstructorThanks! Unfortunately, I discovered that the formula does not work as intended. This applies to both the original formula and my extension. Problems arise after a selection of a manager is made and then another manager is selected. Then the Employees list is displayed instead of the Managers list! This is because the condition B1="Managers" is not fulfilled when a manager has been selected. I have not figured out how to fix this in the original solution, but I have managed to adapt my solution so that it is now:
      =IFS(B1="Managers ▼",Managers, B1="Employees ▼",AllEmployees, ISNA(MATCH(B1,Managers,0)),AllEmployees, TRUE,Managers).
      (I hope I got a correct translation from my Swedish Excel.) Maybe is there a better way to solve it?
      If it is unclear which list the selected value comes from, a header can be created with this formula: =IF(COUNTIF(Managers,B2),"Managers","Emplyees") (Since the Data Validation has been moved down one line, in its formula B1 must be changed to B2.)

  • @michaelt312
    @michaelt312 7 месяцев назад +4

    Didn't even know this was possible, but see a great use. Could you nest multiple IF statements? Say to change to different teams or departments.

    • @Officeinstructor
      @Officeinstructor  7 месяцев назад +2

      You can create multiple drop lists in one single cell. Here is a link to a tutorial in which I explain how to create 5 drop lists in a single cell and be able to switch between them.

  • @unnikrishnansanthosh
    @unnikrishnansanthosh 7 месяцев назад +2

    you are simply superb, never thought such a thing is possible

  • @nadermounir8228
    @nadermounir8228 7 месяцев назад +1

    Thank you Nabil for this great tutorial:) nice to see u back

  • @Luciano_mp
    @Luciano_mp 7 месяцев назад +2

    Very good Nabil! I like this! Thank you.

  • @oscarmendez-roca9181
    @oscarmendez-roca9181 7 месяцев назад +2

    Amazing and very useful trick, thanks for share!!

  • @alializadeh8195
    @alializadeh8195 7 месяцев назад +2

    Please add Ms. Access Tips & Tricks videos in your education program .... still Awaiting ... ;)

  • @reng7777
    @reng7777 7 месяцев назад +2

    Genius!!!!

  • @ashusharma9439
    @ashusharma9439 7 месяцев назад +2

    Amazing trick
    Thanks

  • @alializadeh8195
    @alializadeh8195 7 месяцев назад +2

    Thanks

  • @IvanCortinas_ES
    @IvanCortinas_ES 7 месяцев назад +2

    Excellent logic my friend. Thanks for sharing!

  • @RadAlzyoud
    @RadAlzyoud 7 месяцев назад +2

    Brilliant. Thx 🙏