+ Reply to Thread
Results 1 to 2 of 2

Consolidate multiple worksheets each with 3 header rows and variable number of data rows

  1. #1
    Registered User
    Join Date
    11-11-2013
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    Consolidate multiple worksheets each with 3 header rows and variable number of data rows

    I need to consolidate data from multiple worksheets within one workbook into a single sheet. For each worksheet there are 7 header rows, of which the first 3 contain data that must be transposed to the first 3 columns of the consolidated sheet. Then the data from row 8 onwards in each worksheet (to about row 21 currently, but this is variable) must be placed in columns 4 to 8 in the consolidated sheet. Just to add a final twist, there are a small number of data rows that represent the "second line" of information of the row above. However there are only a few of these, so it would not be too onerous to do some data cleanup separately afterwards in the consolidated list.
    The worksheets have unfortunately been renamed (so they are not Sheet 1, Sheet 2, etc.)
    A sample from one of the work sheets (named 130-PM-03B-CS) is:

    Equipment Name: Product Loading Pump
    Unit Number: 130-PM-03B-CS
    Item Number:

    Applied Canada Part Number //Description //serial number //Brand //Qty
    Netsch Pump //Positive Displacement Pump //Machine # CAB90546 //Netsch //1
    // //Type NM105BY02S14V //Job # 400584


    I am really new to macros, so I would really appreciate some help please!

    Thanks in advance
    Jacqui

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

    Re: Consolidate multiple worksheets each with 3 header rows and variable number of data r

    Jacqui,
    Welcome to the forum!
    Please attach a sample book that should include a desired result, i.e. before and after running the code. Please remove all confidential info. To attach a sample, go to advance then attachment.

+ 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 data from multiple files/worksheets when data in variable location
    By Aaron_Tram in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2013, 12:49 PM
  2. How to I delete all of the rows except the header row from multiple worksheets
    By businessanalyst in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2012, 12:06 PM
  3. Consolidate rows from multiple worksheets in one based on cell criteria
    By SuperSman in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-11-2011, 10:28 AM
  4. Consolidate multiple rows of data
    By aframpton in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2010, 03:16 AM
  5. Concatenate (combine) Header Row with Variable Number of Detail Rows
    By cral17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-29-2009, 09:19 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