+ Reply to Thread
Results 1 to 4 of 4

Move A column text to previous row if duplicate in B column

  1. #1
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Move A column text to previous row if duplicate in B column

    I have a 3 column text. When there are duplicates in B column but different values in A column, I want the A column text to merge with consequent columns and be separated with a comma. If the values are the same in A column too, then maintain the value only in first row.

    In the attached xls I have highlighted consequent duplicate values to make it easier to see.
    Sheet 1 as it is and Sheet 2 as I want it to become.
    Attached Files Attached Files
    Last edited by greek; 10-04-2014 at 04:37 PM.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Move A column text to previous row if duplicate in B column

    Try this...
    Please Login or Register  to view this content.
    Please find the attached sheet and click on the Green Button on Test Sheet to see if you get the desired output.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Re: Move A column text to previous row if duplicate in B column

    Thank you! Excellent results.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Move A column text to previous row if duplicate in B column

    You're welcome. Thanks for the feedback.

+ 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. Replies: 2
    Last Post: 07-11-2014, 04:58 PM
  2. [SOLVED] Move Data From One Column to Another based on column headers and Row Text
    By DerbysGal in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 02-10-2014, 07:21 AM
  3. Replies: 12
    Last Post: 01-08-2014, 11:28 AM
  4. Replies: 4
    Last Post: 08-11-2013, 12:58 AM
  5. Replies: 2
    Last Post: 02-27-2011, 11:59 AM

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