+ Reply to Thread
Results 1 to 6 of 6

Excel Formula to list names in a row without duplicates & if cell is left blank

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    florida
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Excel Formula to list names in a row without duplicates & if cell is left blank

    I need a formula that will list all of the names working each post excluding duplicates and blank cells. Here is what the excel row looks like.

    E 3 F3 G3 H3 I3 J3 K3 L3 M3
    Team Lead Post 1 Post 2 Post 3 Post 4 Post 5/Adm Asst Specialist Assigned if No AA on Duty End of Shift Report Employees on Duty
    Anes Mary Seless Widua S. Creedon Howell S. Creedon S. Creedon Anes, Mary, Seless, Widua, S. Creedon
    (Want list to show as above)

    Thanks for the assistance & hope this clarifies more what I am seeking.
    Last edited by Fladave; 01-08-2020 at 05:44 PM.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,659

    Re: To list all of the names working each post excluding duplicates and blank cells

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new, I have done it for you this time.)
    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-08-2020
    Location
    florida
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Re: To list all of the names working each post excluding duplicates and blank cells

    I hope I clarified the info and format that is required.

    Thank you

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Excel Formula to list names in a row without duplicates & if cell is left blank

    It may help if you upload a file that shows the data as it appears originally (input) and the data as you would like it to appear (output). In that way someone may be able to write formulas/code that will automate the transformation.
    To upload a file follow the instructions listed in the banner at the top of the page.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    01-08-2020
    Location
    florida
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Re: Excel Formula to list names in a row without duplicates & if cell is left blank

    I have attached file, hope this explains better what I am seeking.

    Column L have the following listed names from Posts 1 to 4. I don't want duplicate names or blanks showing.

    If any other info is required please let me know.

    Thanks again.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Excel Formula to list names in a row without duplicates & if cell is left blank

    The following proposal adds helper cells, which may be moved and/or hidden for aesthetic purposes, to the end of each row.
    The helper cells are populated using: =IF(COUNTIFS($D3:D3,D3)=1,D3,"")
    Column L may then be populated using: =N3&IF(O3<>"",","&O3,"")&IF(P3<>"",","&P3,"")&IF(Q3<>"",","&Q3,"")&IF(R3<>"",","&R3,"")&IF(S3<>"",","&S3,"")&IF(T3<>"",","&T3,"")&IF(U3<>"",","&U3,"")
    Let us know if you have any questions.
    Attached Files Attached Files

+ 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. date formula help needed with blank cell and monthly assumtions formula needed
    By Michael.Howarth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2018, 07:47 AM
  2. excel formula needed
    By farid8830 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2017, 02:59 AM
  3. Excel Formula Needed
    By sophier in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2015, 11:44 AM
  4. excel formula
    By felixpanganiban in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-19-2013, 01:41 AM
  5. [SOLVED] excel formula needed.....
    By eddyboy121 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-08-2013, 07:00 PM
  6. Excel formula - help needed!
    By b1888 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-07-2006, 08:40 AM
  7. Excel - formula help needed
    By GimmeStars in forum Excel General
    Replies: 1
    Last Post: 01-31-2006, 01:20 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