+ Reply to Thread
Results 1 to 4 of 4

Remove duplicate rows and combine cells with differing values

  1. #1
    Registered User
    Join Date
    11-29-2017
    Location
    Poland
    MS-Off Ver
    Office 365
    Posts
    2

    Remove duplicate rows and combine cells with differing values

    Hello everyone,

    I'm struggling with the following problem - what I have is a spreadsheet with multiple duplicate rows similar to the one below:

    mail first_name last_name type display_name team phone
    [email protected] Mark Stapleton Owner Mark Stapleton ASD 123234
    [email protected] Mark Member Mark Stapleton ASD
    [email protected] Member M. Stapleton 0000
    [email protected] Mark Owner 543654

    Only the "mail" cells are never empty and serve as a way to identify a given user. So what I'd like to do is to remove all duplicate rows
    and "merge" the cells that have differing values for a user, in other words my goal is to transform the above 4 rows into 1 that would look like this:

    mail first_name last_name type display_name team phone
    [email protected] Mark Stapleton Owner, Member Mark Stapleton, M. Stapleton ASD 123123, 0000, 543654

    Can something like this be done in Excel? If so, how?

    Any tips would be really appreciated and thank you in advance for all the help.

    Regards.
    Attached Files Attached Files
    Last edited by dwadewade; 11-29-2017 at 10:27 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: Remove duplicate rows and combine cells with differing values

    Attaching a sample workbook enables others to work on your problem:

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and click "manage attachments" to open the upload window.


    To add a file to a post

  3. #3
    Registered User
    Join Date
    11-29-2017
    Location
    Poland
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Remove duplicate rows and combine cells with differing values

    Thanks for the tip, sample workbook files have been attached.
    Last edited by dwadewade; 11-29-2017 at 10:27 AM.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,835

    Re: Remove duplicate rows and combine cells with differing values

    Please Login or Register  to view this content.

+ 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. Sub to remove duplicate IDs and combine multiple lookup results into single cells
    By Max, Singapore in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2017, 04:30 AM
  2. [SOLVED] Need to combine cells to one string of text if duplicate values exist in multiple cells
    By Chris McGlothen in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-17-2017, 09:13 PM
  3. Replies: 7
    Last Post: 03-25-2016, 07:02 PM
  4. [SOLVED] How to sum duplicate values then remove the duplicate rows?
    By terry3218 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-12-2015, 02:38 AM
  5. Replies: 2
    Last Post: 09-02-2015, 11:18 PM
  6. Combine rows with duplicate values into separate columns
    By itgeekgroup in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-18-2014, 11:12 AM
  7. Replies: 8
    Last Post: 04-12-2012, 08:02 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