+ Reply to Thread
Results 1 to 4 of 4

Creating a Non-contiguous list in a drop-dowm dynamically.!

  1. #1
    all4excel
    Guest

    Creating a Non-contiguous list in a drop-dowm dynamically.!

    Creating a Non-contiguous list in a drop-dowm dynamically.!

    I want a Dropdown which only selects all the Activities pertaining to whatever mentioned in the Column E.
    For ex- I want all the Tasks assigned to Sarah , so I would be getting a choice amongst all the Tasks colored in Blue in a Dropdown, so If I were Sarah, then I would choose any Activity out of the 4 mentioned.
    This dropdown would be based on the selected in the cells E2..
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Good Morning,

    try this it will send the filtered data to H1, and use that as the list for F2
    Please Login or Register  to view this content.

  3. #3
    all4excel
    Guest

    Your help is certainly appreciated...!

    Your help is certainly appreciated...!
    However, Is it possible to get this done in MS Excel as I can understand the Excel comparatively better than VBA...

    This problem is a combinaation of Multiple Lookup and Dynamic Drop-down...

    I am able to get all the Tasks assigned to one person by using the logic for Multipe lokkup, but I dont know how to get the same in a Drop-down..

    I can get the Tasks assigned as follows:
    Sarah Activity 1A
    Activity 11A
    Actvity 111B
    Activity 2B

    But all the four Rows are relating to one person..Sarah..

    However in a Drop-down, the List would be for a single Row.

    So how do I solve this crux?
    Last edited by all4excel; 05-25-2008 at 10:53 AM.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Quote Originally Posted by all4excel
    Your help is certainly appreciated...!
    However, Is it possible to get this done in MS Excel as I can understand the Excel comparatively better than VBA...

    This problem is a combinaation of Multiple Lookup and Dynamic Drop-down...

    I am able to get all the Tasks assigned to one person by using the logic for Multipe lokkup, but I dont know how to get the same in a Drop-down..

    I can get the Tasks assigned as follows:
    Sarah Activity 1A
    Activity 11A
    Actvity 111B
    Activity 2B

    But all the four Rows are relating to one person..Sarah..

    However in a Drop-down, the List would be for a single Row.

    So how do I solve this crux?
    Sorry I didn't notice the thread was in worksheet functions

    Unhide columns G:H to see the formulas
    select E2 to see the formula for your data validation
    Attached Files Attached Files

  5. #5
    all4excel
    Guest

    Smile Dave

    Quote Originally Posted by davesexcel
    Sorry I didn't notice the thread was in worksheet functions

    Unhide columns G:H to see the formulas
    select E2 to see the formula for your data validation
    No problem Dave its the urge to help which is more important....
    But unfortunately its not working the intended way.
    When I tried selecting Sarah it just displays three options in the drop-down and
    What I also want is to get different drop-downs in every Row so beneath E2 in E3 If I select Alice then I need all the tasks Assigned for..so on so forth...

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Quote Originally Posted by all4excel
    No problem Dave its the urge to help which is more important....
    But unfortunately its not working the intended way.
    When I tried selecting Sarah it just displays three options in the drop-down and
    What I also want is to get different drop-downs in every Row so beneath E2 in E3 If I select Alice then I need all the tasks Assigned for..so on so forth...
    Did you try dragging the formulas farther down in column H ??

  7. #7
    all4excel
    Guest

    Question It did help but...!

    Quote Originally Posted by davesexcel
    Did you try dragging the formulas farther down in column H ??
    I am sorry I hadnt tried draggging It worked, however I would like to have it for the next cell E3 which does not work..

    I would need to have different lists based on the selcted team members name in the adjacent cell E2 and E3..
    So if I were to select Alice then it should display the corresponding activties whereas it still displays the activities for Sarah as $E$2 is locked..

    So any solution for the same...

  8. #8
    all4excel
    Guest

    Question

    Quote Originally Posted by all4excel
    I am sorry I hadnt tried draggging It worked, however I would like to have it for the next cell E3 which does not work..

    I would need to have different lists based on the selcted team members name in the adjacent cell E2 and E3..
    So if I were to select Alice then it should display the corresponding activties whereas it still displays the activities for Sarah as $E$2 is locked..

    So any solution for the same...
    Hey Dave,

    Did u try that, as Iknow thats very difficult but hope experts like you would be able to come up with some solution..
    Multilookup in a Drop-down...

  9. #9
    all4excel
    Guest

    I am sorry Dave..!

    Quote Originally Posted by davesexcel
    Give me a break!
    I showed you how to do it for the first one, are you not able to figure out how to do it for the next one?
    I am not going to build your workbook for you.....
    Dear Dave,

    I am not underestimating your efforts at all.I am sorry if you felt that way..

    The reason for seeking help from the Forum was to avoid any helper columns as they would be populated with the first Team Members Name..always

    I have used Dynamic Lists in the past using Indirect,Offset,Defined names etc..However, this is a very different situation. I cannot define the Range as its non-contiguos as well as am trying to avoid storing it somewhere as I will have to assign different columns for different Team members..

    So, in my case every Row would have a different list drop-down. that was not the only thing but the List has to be created dynamically without defining it....

    I have tried different Logics which I have used in the Past but this seems to a bit difficult..

    I was using this code to get Multilookup
    [ =IF(ROWS(F$2:F2)<=COUNTIF($C$2:$C$21,List!$E$2),INDEX($B$2:$B$21,SMALL(IF($C$2:$C$21=List!$E$2,ROW($C$2:$C$21)-ROW($C$2)+1),ROWS(F$2:F2))),"") ]

    This gives me the four Tasks for Sarah, but I am failing to use it in a drop-down as well as it does not change for anything in the next cell E3..

    I am sorry for phrasing in this manner..
    HTML Code: 

  10. #10
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    I believe you need a physical range for your list.....
    Unfortunately, if each dropdown is going to be different then you are going to require separate lists for each one

  11. #11
    all4excel
    Guest

    Smile Dear Dave---I thought as much...

    Quote Originally Posted by davesexcel
    I believe you need a physical range for your list.....
    Unfortunately, if each dropdown is going to be different then you are going to require separate lists for each one
    Dave.

    I had foreseen that this requirement was more than tedious and therefore was going by intuition that some expert would be able to make it possible.

    And so I had to ask you to help me on the same completely as I had already reached the Multilookup stage but didnt know how to make use of it in a Name define or Data Validation...

    Moreover, I was also trying to avoid using any extra storage for the Lists to be pulled.

    Anyways, thanks for your help and believe me I have always learnt form this forum so your efforts on this thread and also in the past have always made me more Excel savvy
    Last edited by all4excel; 05-27-2008 at 03:16 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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