+ Reply to Thread
Results 1 to 2 of 2

Combine Rows Based on Matching Cells in A

  1. #1
    Registered User
    Join Date
    06-27-2008
    Location
    USA, Idaho
    Posts
    1

    Combine Rows Based on Matching Cells in A

    Hello. I have a sheet that looks like this:

    1|Contact__|__Date___|__Time__|____Notes____|__Manager__|
    2|Name1___|__1/1/00__|__12:00___|__Notes here__|___User1____|
    3|Name2___|__1/5/01__|___2:00___|__Notes here__|___User1____|
    4|Name2___|__6/4/02__|___5:00___|__Notes here__|___User2____|
    5|Name3___|__5/4/00__|___1:00___|__Notes here__|___User1____|

    Every note is on its own row, I want to 1) combine rows with the same contact name 2) add a blank line in between 3) Resulting A will be one instance of the name. The above table would now look like this:


    1|Contact__|__Date___|__Time__|____Notes____|__Manager__|
    2|Name1___|__1/1/00__|__12:00___|__Notes here__|___User1____|
    3|Name2___|__1/5/01__|___2:00___|__Notes here__|___User1____|
    4|blank blank| blank blank| blank blank| blank blank bla|nk blank blank |
    5|__________|__6/4/02__|___5:00___|__Notes here__|___User2____|
    6|Name3___|__5/4/00__|___1:00___|__Notes here__|___User1____|

    PLEASE HELP! Thank you in advance.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try this macro

    Please Login or Register  to view this content.
    Open up the VBA editor by hitting ALT F11

    Insert a new module by hitting Insert - Module

    Paste the macro into the empty sheet

    Hit ALT F11 to get back to the worksheet.

    Run the macro by going to tools-macro in Excel 2003 or the view ribbon in Excel 2007.
    Martin

+ 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