+ Reply to Thread
Results 1 to 3 of 3

Merge Multiple Rows into One and Output in New Sheet

  1. #1
    Registered User
    Join Date
    01-08-2017
    Location
    USA
    MS-Off Ver
    EXCEL
    Posts
    2

    Merge Multiple Rows into One and Output in New Sheet

    Hey Gurus,

    I am just trying to learn VBA but need help with a report. I have a file of data with multiple rows for one person that I need to then report out as a single row with all of the data for that person on a new worksheet. Each person can have up to 7 rows of data while others have 8. I need those 7 rows to be become a single row. Please see the attached document with the raw data that I begin with on tab -- Raw Data and the desired output on the Output tab. I would love some help with a macro that can generate the output for me.

    Any help will be appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Merge Multiple Rows into One and Output in New Sheet

    If you are just trying to learn VBA, then I'll include some "tips" along with the code.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    01-08-2017
    Location
    USA
    MS-Off Ver
    EXCEL
    Posts
    2

    Re: Merge Multiple Rows into One and Output in New Sheet

    Thank you very much for your help and the resources to help me as I develop proficiency in VBA. The code works great!

+ 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. Consolidate rows based on unique key from multiple sheets to an output sheet
    By sreeks in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-15-2015, 05:55 AM
  2. Replies: 8
    Last Post: 11-05-2014, 10:27 PM
  3. Replies: 5
    Last Post: 08-24-2014, 09:51 PM
  4. Copy rows in multiple sheets given a critieria and merge them in another sheet
    By on2mars in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2014, 06:27 AM
  5. [SOLVED] Large sheet of rows (18000+). Need to merge with other sheet but only certain rows.
    By brasskey in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-21-2014, 05:38 PM
  6. VBA to Merge Multiple Excel Files - But only output 2 columns by name
    By gachua1978 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-11-2014, 02:31 PM
  7. Multiple file merge output incorrect.
    By adamcfishman in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-16-2013, 03:47 PM

Tags for this Thread

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