+ Reply to Thread
Results 1 to 4 of 4

Return Multiple Unique Values In A Column

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Return Multiple Unique Values In A Column

    Hello everyone,

    I'm trying to figure out a way to accomplish the following:

    A B C D E
    1 Tom Tom Yes
    2 Joe Bob
    3 Ryan Joe Yes
    4 Bill Ryan Yes
    5 Chris
    6 Frank
    7 Bill Yes

    In column A I would like a formula to populate the name of a person from column D only if column E says Yes.

    As column E changes so will column A

    Any help is much appreciated!

    Thanks in advance,

    -Justin

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Return Multiple Unique Values In A Column

    Try this...

    Data Range
    A
    B
    C
    D
    E
    1
    Tom
    Tom
    Yes
    2
    Joe
    Bob
    3
    Ryan
    Joe
    Yes
    4
    Bill
    Ryan
    Yes
    5
    Chris
    6
    Frank
    7
    Bill
    Yes
    8
    ------
    ------
    ------
    ------
    ------


    This array formula** entered in A1:

    =IFERROR(INDEX(D:D,SMALL(IF(E$1:E$7="Yes",ROW(E$1:E$7)),ROWS(A$1:A1))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Return Multiple Unique Values In A Column

    Thank you Tony,

    Perfect!!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Return Multiple Unique Values In A Column

    You're welcome. Thanks for the feedback!

+ 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. [SOLVED] Help return multiple unique values in a row. VLOOKUP?
    By Royser12345 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-22-2016, 04:58 AM
  2. Return Multiple Text Reslts Sorted Based Unique Values in another Column
    By Fin Fang Foom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-10-2015, 12:01 AM
  3. return unique values from column B in various sheets
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 10-02-2015, 05:53 PM
  4. Replies: 6
    Last Post: 07-24-2015, 11:40 PM
  5. Return number of unique values based on values in other column
    By Medir in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-26-2013, 11:17 AM
  6. [SOLVED] Return unique values based on another column's value
    By bd528 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-26-2013, 04:02 AM
  7. Find unique value in column and return multiple values
    By DWolf75 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2011, 08:32 PM

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