+ Reply to Thread
Results 1 to 7 of 7

Merge sheet data in workbooks to a single excel sheet

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010
    Posts
    19

    Merge sheet data in workbooks to a single excel sheet

    Guys,

    I know that there is loads of posts on the web reagrding this topic, but none of the solutions out there seem to meet my needs and i'm not a vba expert, therefore, unable to tweek the code to get exactly what i need.

    In a nutshell i'm trying to take 6 workbooks that each contain a months worth of working day data (monday to friday) and summarise this data on a monthly basis to a single sheet.

    The file structure is identical on each sheet, and the bits that seem to be missing on most solutions out there is;

    1) Only want to copy headers from first sheet or copy data to template sheet that already has headers defined.
    2) Must copy formatting from existing sheets as some number combinations are a bit weird and treated as text.
    3) Need to add column at end of summary sheet with workbook name as this determines who completed the task.
    4) Also is it possible for the macro to check for duplicates against the base sheets to ensure that the macro isn't run twice.
    5) Would be good if i could maintain the same summary sheet with separate sheets for each month as per attached.

    I have attached 4 base files together with a summary file of the expected output, normally there would be 6 workbook files but unable to upload, so Bob and Sue missing.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Merge sheet data in workbooks to a single excel sheet

    This is more of a project than a simple ask for assistance with a formula or VBA line of code or macro.

    I'd be surprised if you get anyone to do all your work for you for nothing. You should probably look for an Excel/VBA consultant who can give you a price for doing the work. Think of it in terms of cost versus time/effort(/money) saved.

    The alternative is that you put some time and effort into understanding and adapting the examples you have and, if you have a problem with the fine detail, come back for assistance.

    Good luck, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    06-13-2011
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010
    Posts
    19

    Thumbs up Re: Merge sheet data in workbooks to a single excel sheet

    Thanks for your reasponse, the crazy thing is i have found a number of macros that do about 50% of what i'm trying to achieve, but none that provide the complete package.

    Maybe, i will have to get to grips with VBA in a bit more detail to enable me to cut and paste code from various macros to obtain the required result.

  4. #4
    Registered User
    Join Date
    06-13-2011
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Merge sheet data in workbooks to a single excel sheet

    Ok so i'm about 80% of the way there have managed to create a workbook macro that loops through the required worksheets and merges data into a single summary sheet. However, i have created a worksheet templates for each operator and only want the data to merge if a date is entered in the first column A, whereas my current template copies all cells regardless.

    Would also be good if the "Monthly Total" sheet could remain static as a template to enable me to have constant headers, and currently Operator is missing from the Header of column "H".

    Any help would be appreciated.

    (Big Thanks to Ron de Bruin as managed to very slightly adapt his macros to get this far.)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-13-2011
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Merge sheet data in workbooks to a single excel sheet

    BUMP - any help or pointers would really help.

    Thanks in anticipation...

  6. #6
    Registered User
    Join Date
    06-13-2011
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Merge sheet data in workbooks to a single excel sheet

    BUMP - Any VBA Experts out there who could steer me in the right direction...

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Merge sheet data in workbooks to a single excel sheet

    I suggest that you open a new thread and indicate, in this thread, that that is what you have done.

    In the new thread, link back to this one as background, but start afresh with your sample workbook and description of your needs.

    That way, you'll have a new thread with zero replies which should generate new interest. It won't/shouldn't be considered a duplicate thread because you've moved on and you have indicated what you have done with the two way links.

    Regards, TMS

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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