+ Reply to Thread
Results 1 to 2 of 2

Copy non-sequential columns with headers (from multiple sheets) to one consolidated sheet

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    Utrecht
    MS-Off Ver
    Excel 2007
    Posts
    3

    Copy non-sequential columns with headers (from multiple sheets) to one consolidated sheet

    I'm still quit new to VBA and I have a question for you and can't find the answer on this forum or google. Maybe you can help me?

    I have three different sheets with columns of data (fixed headers, only in different placed columns). The data correspondent by row (A1, B1, C1, etc). The sequence does not matter (eg: B1, C1, A1).

    I would like to consolidate the data in these three different sheets by row into one consolidated worksheet under the right headers. The problem is that the columns are randomly placed in the sheets.

    In the worksheet (Example) I put the data how I would like to have it. This probably explains better what I'm asking for.

    1. Copy columns row by row to correct column in Consolidated (eg. Header A row 1, Header B, row 1, Header A row 2, Header B, row 2, etc).
    2. Copy until last row (variable)
    3. Paste to last row + 1 (variable)

    Hopefully someone can help me with this! I'm available to explain somemore.

    Grtz.
    Constant
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy non-sequential columns with headers (from multiple sheets) to one consolidated sh

    Will the columns in the 3 sheets always have the same format?

    Can the consolidation be done based on column addresses or should i search for header names?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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