+ Reply to Thread
Results 1 to 2 of 2

How to merge names from 4 cell into one cell but remove duplicated names

  1. #1
    Registered User
    Join Date
    01-13-2011
    Location
    Spring, TX
    MS-Off Ver
    Excel 2002
    Posts
    5

    How to merge names from 4 cell into one cell but remove duplicated names

    I am trying to merge two full names into one (so I can create account). I have over 2000 rows of names I need to get all combined into one cell so I can upload them to my CMS. Otherwise it will take me forever to just create account for each client (husband & wife).

    I will have four cells that I will want to combine into one cell. I knwo to use the &" "& but it does not seem to work the way I want. See attached excel file.

    Last name First Name Last Name First Name Result I want
    Smith Joe Smith Jane Smith, Joe & Jane
    Alexander Frank Alexander, Frank
    Davison Vicky Diaz Nathan Davison, Vicky & Diaz, Nathan
    Hall Chad Hall Traci Hall, Chad & Traci
    Attached Files Attached Files

  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,830

    Re: How to merge names from 4 cell into one cell but remove duplicated names

    Which version of Excel are you using?

    Try this:

    =A2&", "&B2&IF(C2="",""," & "&IF(C2=A2,"",C2&", ")&D2)

    Excel 2016 (Windows) 32 bit
    E
    F
    1
    AliGW
    This is the result I want
    2
    Smith, Joe & Jane Smith, Joe & Jane
    3
    Alexander, Frank Alexander, Frank
    4
    Davison, Vicky & Diaz, Nathan Davison, Vicky & Diaz, Nathan
    5
    Hall, Chad & Traci Hall, Chad & Traci
    Sheet: Sheet1
    Last edited by AliGW; 03-20-2021 at 02:10 AM.
    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.

+ 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] Swap peoples names within a cell with multiple names in a cell
    By kiwi_harry in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2018, 05:05 AM
  2. Remove dublicate names from cell
    By Yannissss in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2018, 06:51 AM
  3. How to remove certain names from a cell?
    By bethanyjoy10 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-15-2014, 06:34 PM
  4. Need to copy store names from sheet1 to sheet3 and remove duplicate names
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-21-2014, 08:47 AM
  5. Replies: 1
    Last Post: 10-06-2014, 09:44 AM
  6. [SOLVED] Unable to remove names on cell groups for use in drop down lists
    By Allsort in forum Excel General
    Replies: 1
    Last Post: 08-14-2013, 02:00 PM
  7. [SOLVED] Have 2 columns of names - need to filter out names not duplicated
    By Jill in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-20-2006, 04:10 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