+ Reply to Thread
Results 1 to 5 of 5

Remove duplicates on column A and merge rows in column B

  1. #1
    Registered User
    Join Date
    11-29-2012
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2010
    Posts
    4

    Remove duplicates on column A and merge rows in column B

    Hy there!
    I'm new on the forum, so please don't make jokes on my knowledge. What I'm trying to do is to merge all cells that have the same value/text in column A, B, C and D (hold only one unique value) and in column E and F merge the 3 texts in one cell. Column C is the reference column (so at every change in column C should do that). After using the VB code I would like to have somenthing like:

    A B C D E F
    GOGU ATE TO 75462 09.07.2012 E3&" "&E4&" "&E5 F3&" "&F4&" "&F5
    MIHAI MARIUS ATE PH 72690 27.06.2012 E6&" "&E7 F6&" "&F7
    . . . .
    . . . .
    . . . .
    . . . .


    Tnx!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Remove duplicates on column A and merge rows in column B

    See if this works for you
    Attached Files Attached Files

  3. #3
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Remove duplicates on column A and merge rows in column B

    Heres another

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  4. #4
    Registered User
    Join Date
    11-29-2012
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Remove duplicates on column A and merge rows in column B

    I've tested both of the codes, and both of them works just fine! You guys rock! Thank you very much! I'm trying to learn (or I'd like to learn) VB so I can help others and do my own codes. So, if you have any advices for me..I would be glad to hear them. I don't know where to start from. Still a rookie in this domain.

    Tnx again!

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Remove duplicates on column A and merge rows in column B

    JJ,
    Glad to know you are happy with the solution.
    Please see link below which you should be able to see it at the top of this forum. I hope it gives a good start.

    http://www.excelforum.com/excel-prog...materials.html

+ 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