+ Reply to Thread
Results 1 to 8 of 8

Create a unique list using data validation.

  1. #1
    Registered User
    Join Date
    01-31-2019
    Location
    India
    MS-Off Ver
    2011
    Posts
    22

    Create a unique list using data validation.

    hi All,

    Is there a way in excel using data validation i can see the list of employees mapped to manager A (unique list) and then choose All to create a full list of employees (unique list)

    Regards,
    NainH

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Create a unique list using data validation.

    See the information at the top of the page to help you provide a sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-31-2019
    Location
    India
    MS-Off Ver
    2011
    Posts
    22

    Re: Create a unique list using data validation.

    see attached
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Create a unique list using data validation.

    I don't think you are giving the whole picture. Where have the items in green come form?

    Excel 2016 (Windows) 32 bit
    H
    I
    J
    K
    L
    M
    8
    A Manager Employee
    9
    aaaa A aaaa
    10
    aaaa B cccc
    11
    hhh C ddd
    12
    hhh C eee
    13
    hhh B fff
    14
    hhh A hhh
    Sheet: Sheet1

  5. #5
    Registered User
    Join Date
    01-31-2019
    Location
    India
    MS-Off Ver
    2011
    Posts
    22

    Re: Create a unique list using data validation.

    Please see attached the actual data sheet
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Create a unique list using data validation.

    1. Create a new tab called LOOKUP and type this into B2:

    =IFERROR(SUBSTITUTE(INDEX('Empl Master'!$B$2:$B$300,MATCH(0,INDEX(COUNTIF($A$1:A1,'Empl Master'!$B$2:$B$300),0,0),0)),0,""),"")

    Drag copy down, then type All into A1.

    2. In B1 on the Current tab, create the data validation list using this range as the source: =Lookup!$A$1:$A$5

    3. Type this into B3:

    =IFERROR(INDEX('Empl Master'!$A$2:$A$7,AGGREGATE(15,6,ROW('Empl Master'!$A$2:$A$7)/(IF(Current!$B$1="All",1,'Empl Master'!$B$2:$B$7=Current!$B$1)),ROWS($B$2:B2))-ROW($A$2)+1),"")

    Drag copy down.
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Create a unique list using data validation.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  8. #8
    Registered User
    Join Date
    01-31-2019
    Location
    India
    MS-Off Ver
    2011
    Posts
    22

    Re: Create a unique list using data validation.

    hi,

    Thank you very much for this, it works well. Can i request if you can help me understand how i should adjust the formula so i can leave a row inbetween the names?

+ 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. VBA code to create Data-Validation from column unique values
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-13-2019, 10:11 AM
  2. create validation rule for unique data and copy data from other sheet
    By sarat47 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-02-2018, 07:34 PM
  3. [SOLVED] Unique Values in Data Validation List
    By sbeatty in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-31-2017, 02:17 PM
  4. Data Validation List - Formula to Sort and Return Unique Values in List
    By beewketu in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2015, 04:18 PM
  5. Unique list of records dropdown in Data Validation list
    By sghosh12 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-13-2013, 08:27 AM
  6. Data Validation List - Unique Values from a List
    By kwsmith in forum Excel General
    Replies: 0
    Last Post: 07-17-2007, 04:56 PM
  7. Replies: 1
    Last Post: 07-08-2005, 11:05 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