+ Reply to Thread
Results 1 to 8 of 8

Dependent Data Validation - Team Roster

  1. #1
    Registered User
    Join Date
    12-20-2009
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    6

    Dependent Data Validation - Team Roster

    Team Validation.xlsx

    I need a way to have two validation boxes. In the first box it would have one option for each team leader (remove duplicate) and depending on what leader was chosen, the second validation box would list the assigned team members.

    Is this possible?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,489

    Re: Dependent Data Validation - Team Roster

    Look at:

    http://www.contextures.com/xlDataVal02.html

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Dependent Data Validation - Team Roster

    Dependent data validation is explained in detail here: http://www.contextures.com/xlDataVal02.html
    You will need to change your data layout, so you have a list of unique names for your Leaders.

    Or take a different approach. A unique list of leaders can be created by copying the Leaders and using Remove Duplicates. Then you can use the list of unique leaders in a data validation list in F2.

    Define a range name called "Members" with the formula

    Please Login or Register  to view this content.
    Then create a data validation with the "Members" las the list source in F3.

    see attached.
    Attached Files Attached Files
    Like a post? Click the star below it!

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Dependent Data Validation - Team Roster

    Hi Ktwainscott,

    See the attached file where I have used dynamic names in data validation.. thanks.
    Team Validation(1).xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  5. #5
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Dependent Data Validation - Team Roster

    dilipandey, it would be nice if you could describe your approach in your post, so people are not forced to download a spreadsheet to see what you are suggesting. That would also help the search engines find a good solution.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Dependent Data Validation - Team Roster

    Sure..

    Hi Ktwainscott,

    Below is the approach which I have used in order to provide you a solution :-
    =======
    I have used dynamic name member & leader in data validation:-

    member:
    =OFFSET(Sheet1!$B$1,MATCH(Sheet1!$E$2,Sheet1!$C:$C,0)-1,0,COUNTIF(Sheet1!$C:$C,Sheet1!$E$2),1)

    leader:-
    =OFFSET(Sheet1!$I$3,0,0,COUNTA(Sheet1!$I:$I)-1,1)

    Leader names are sourced from a pivot table data
    =====
    Now, please go ahead and download the workbook if above approach appeals you. Thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  7. #7
    Registered User
    Join Date
    12-20-2009
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Dependent Data Validation - Team Roster

    Perfect! Both ways work brilliantly! thank you for your quick replies!

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Dependent Data Validation - Team Roster

    Great..!!

    Please mark this thread as [SOLVED]... thanks


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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