+ Reply to Thread
Results 1 to 12 of 12

dynamic CONDITIONAL dependent list

  1. #1
    Registered User
    Join Date
    03-26-2016
    Location
    cz
    MS-Off Ver
    07/10
    Posts
    73

    Question dynamic CONDITIONAL dependent list

    Hello!

    Id like to make a dependent list where you would choose an ability or (service) and then could choose the right person according to it

    that is easy to make but not with the following conditions:

    the names of the abilities and people can be changed at any time

    abilities and people can be added/removed

    people can learn new abilities thus i have to be able to change what they can do or not and thus change the list again thats the reason

    i would like to only use one table



    here is what i came up with:
    i made a table with YES and NO options for all people and abilities.
    Could i use some kind of IF function that defines to only let names on the list that have a YES in the right place?

    Its hard to explain so take a look yourself

    EXAMPLE
    i choose ability3 in the first drop list, the second drop list should only offer me the names of the people that have YES assigned there

    ----------------------------------------

    It should be dynamic so that if i change an ability, name, or yes or no, the drop list should adjust

    the choices are in the MATH sheet, the results can be on a different sheet

    Thanks for the help
    Attached Files Attached Files

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: dynamic CONDITIONAL dependent list

    Perhaps this will be of help. I created a table with the abilities as the headers for the table and then listed the names of the people that had those abilities. This table is able to be expanded both laterally and vertically to accommodate changes (all lists are dynamic). If you remove a name from one list, move the remaining names up the column so that there are no blanks. If adding a name in the middle of the list, select the names under where you want to add the new name and move those names down to create a space for the new name. If the new name is to be at the bottom of the list, just add it.

    This will give you all the people that have the ability chosen leaving out those that don't have the ability.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    03-26-2016
    Location
    cz
    MS-Off Ver
    07/10
    Posts
    73

    Re: dynamic CONDITIONAL dependent list

    I feel like making a table will be a part of the solution, however this requiers to add each name and ability combination by hand, id rather just click yes and no to create the able...
    perhaps some function could do that but im not sure, all it would need is "if the crossing of ability1 and name1 = yes (in the table of YES and NOs) write name1 in the row of ability1 (to the other table)

    of course all those names would have to actually be cell adreses to keep them dynamic... anyone knows how to formulate that? i only know basics and i have no idea

    this would result in three tables, one being the input, one the formulas and one the table output, i guess. or maybe tables can work with formulas so the output would be the formulas itself?

  4. #4
    Registered User
    Join Date
    03-26-2016
    Location
    cz
    MS-Off Ver
    07/10
    Posts
    73

    Re: dynamic CONDITIONAL dependent list

    I have succesfuly made a "table" replacing the all YES with the names of the people, thus now we can use THAT table to create the choices necesary (TABLES OF PEOPLE 2)


    i couldnt make it a proper table because the headers of that table would be a text ad i need them to stay linked to the sheet PEOPLE2

    Is it NOW possible to make it a dynamic list like before and to exclude all the blanks?

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: dynamic CONDITIONAL dependent list

    This works in a limited fashion. The drop down list for the names isn't dynamic but it does match the choice in the first list

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: dynamic CONDITIONAL dependent list

    I believe that I have solved the question. This allows you to enter the data in the manner that you want with the YES/NO and it forms a table from which dynamic, cascading lists are formed.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: dynamic CONDITIONAL dependent list

    I had one other thought. If you want a complete listing of the people with an Ability, then this will return that. All the persons with the Ability in B3 will be returned in a list. Just delete the listing that you don't want.

  8. #8
    Registered User
    Join Date
    03-26-2016
    Location
    cz
    MS-Off Ver
    07/10
    Posts
    73

    Re: dynamic CONDITIONAL dependent list

    I have no idea how you made it but it seems to work perfectly fine! also i dont see any difference between the last two files?

    are you only using the grey selected part? could i delete the other sheets?

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: dynamic CONDITIONAL dependent list

    You need all the worksheets that end with the number 2. All the other worksheets can go.

    The difference between the files 3 and 3a are that if you want to have the listing that shows up in column E of the 3a file (message #7) then use that file. The listing in column E gives all then names that are connected with the Ability that is chosen in cell B3.

    If that isn't what you want, use the 3 file from message #6.

    I didn't know for sure what kind of listing that you wanted so provided the means to choose between 2 different types.

  10. #10
    Registered User
    Join Date
    03-26-2016
    Location
    cz
    MS-Off Ver
    07/10
    Posts
    73

    Re: dynamic CONDITIONAL dependent list

    Now i see it! You basically did what i had in mind but in a more fancy way! haha, i think i can use that!

    SIDE NOTE
    what does errorif do

    how did you solve the blanks? in another project i have a list where the blanks really ruin the droplist, but you seem to have somehow extracted them

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: dynamic CONDITIONAL dependent list

    IFERROR replaces error messages with whatever you enter at the end of the formula.
    In this formula, if data runs out, an error is produced but the IFERROR replaces the error with a null cell which is formed by the "" at the end of the formula.
    =IFERROR(INDEX($A$30:$U$51,(INT((ROWS($A$54:A55)-1)/21)*22)+COLUMNS($A55:A55),MOD(ROWS(A$54:A55)-1,21)+1),"")

  12. #12
    Registered User
    Join Date
    03-26-2016
    Location
    cz
    MS-Off Ver
    07/10
    Posts
    73

    Re: dynamic CONDITIONAL dependent list

    very nice, thanks for the explanation! woud be a good function to hide mistakes from homeworks XD

+ 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. Dependent List Validation from Dynamic Named Ranges
    By freeride in forum Excel General
    Replies: 11
    Last Post: 01-22-2020, 03:07 PM
  2. [SOLVED] Dynamic cascading dependent dropdown list
    By kevivu in forum Excel General
    Replies: 4
    Last Post: 03-26-2016, 12:24 PM
  3. Dependent Data Validation List with Dynamic Range
    By sakmsb in forum Excel General
    Replies: 1
    Last Post: 06-09-2015, 12:42 PM
  4. dynamic dependent validation list
    By ComeOnBee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2015, 04:58 AM
  5. Multiple Column Dynamic Dependent List
    By wsublet86 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2014, 03:25 PM
  6. Create a dependent drop down list with dynamic list
    By JSmith1504 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2014, 09:15 AM
  7. [SOLVED] Dynamic dependent data validation list
    By Masun in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-03-2014, 10:34 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