+ Reply to Thread
Results 1 to 8 of 8

Find duplicates, concatenate into different column, sum and delete duplicates

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Question Find duplicates, concatenate into different column, sum and delete duplicates

    I have 3 columns, second column have duplicate value, third column have numbers. If duplicated found on second column, I need to concatenate the third column into the
    first duplicate found across different columns. Then sum at the last column and delete all duplicate. Somtimes my file have over 200,000 rows.

    Example:
    col A col B col C
    ISA ABC 235
    ISB ABC 123
    ISC BCD 6756
    ISD BCD 5647
    ISA CDE 1234
    ISB CDE 6537
    ISC CDE 675
    ISA CDE 4536
    ISB CDE 67537

    Final result should look like this:
    col A col B col C col D col E col F col G total
    ISA ABC 235 123 358
    ISC BCD 6756 5647 12403
    ISA CDE 1234 6537 673 4536 67537 80517


    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    19,932

    Re: Find duplicates, concatenate into different column, sum and delete duplicates

    Try the attached
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-11-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Red face Re: Find duplicates, concatenate into different column, sum and delete duplicates

    Thanks for the quick reply. Sorry I wasn't clear. I am only concern on column B and C. It don't matter column A is duplicated. You can just ignore what is in
    column A. If column B is duplicated, concatenate the number into the first row of duplicated and sum the row then delete the duplicates.Hope I am more clear now

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

    Re: Find duplicates, concatenate into different column, sum and delete duplicates

    Post your workbook with your desired result, otherwise wasting time.

  5. #5
    Registered User
    Join Date
    04-11-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Find duplicates, concatenate into different column, sum and delete duplicates

    Thanks for your time. Really appreciated! I have attached the desire result in sheet2
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    19,932

    Re: Find duplicates, concatenate into different column, sum and delete duplicates

    Replace 1 with 2
    i.e
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    04-11-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Thumbs up RESOLVED Re: Find duplicates, concatenate into different column, sum and delete duplicates

    You are great! It is working. Thank you so much

  8. #8
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Find duplicates, concatenate into different column, sum and delete duplicates

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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