+ Reply to Thread
Results 1 to 3 of 3

Macro to combine rows

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    17

    Macro to combine rows

    I am looking to combine rows in a spreadsheet. Sample of what I currently have and how I hope to condense are in the attachment.

    thanks
    Attached Files Attached Files
    Last edited by theatergirl; 05-10-2013 at 11:17 AM.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Macro to combine rows

    Hi there,

    As you're using at least Excel 2007 (or later), you don't need a macro as the capability to do this exists in those versions. To do this, follow these four steps:

    1. Select the entire dataset (A2:L31 in your posted example)
    2. From the Data Tools tab within the Data ribbon click Remove Duplicates
    3. Click the Unselect All button from the Remove Duplicates dialog and then click the Customer Number option
    4. Click OK

    For this and macro solutions see here.

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Macro to combine rows

    Robert,

    That removes duplicated but what it doesn't do is move the shows or packages that they have seen to the row that stays before the extra rows are deleted. I want the information in columns K, L and M. Is there a way to have that happen?

    Thanks,
    Stephanie

+ 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