+ Reply to Thread
Results 1 to 10 of 10

Aggregate data from Multiple workbooks

  1. #1
    Registered User
    Join Date
    07-31-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Aggregate data from Multiple workbooks

    Running into a roadblock here.

    Each of my team members fills out a Activity Tracking form each week, which they synch with Box.net, which synchs to my desktop folder. I want to consolidate the data from each of their workbooks into a master spreadsheet - I have created a work book for each person with their own tab. I then used a data source to import in the columns and rows to each respective tab using the MSFT query function.

    that works just fine and the data auto refreshes - I am stoked about that!

    However, at the end of the quarter, I need to roll up the data into a master - meaning I need to take each workbook and merge them into one primar workbook.

    I'm getting errors and running into roadblocks. I am thinking at this point the only way to do this is a macro - I am not an expert on this.

    Anybody intereted in looking at the spreadsheet for me? I'd be eternally greatful.
    Attached Files Attached Files
    Last edited by colesky; 08-01-2012 at 02:22 PM. Reason: Added Sample

  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: Aggregate data from Multiple workbooks

    Why dont you attach a sample file?
    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]

  3. #3
    Registered User
    Join Date
    07-31-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Aggregate data from Multiple workbooks

    Done! Added the file - keep in the mind the file has a Macro built in to make the data entry easier for the team.

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

    Re: Aggregate data from Multiple workbooks

    So all the tabs in this file should be consolidated into the "Team Merge" tab?

  5. #5
    Registered User
    Join Date
    07-31-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Aggregate data from Multiple workbooks

    Correct. and if the data changes in any of the individual tabs or data is added the Team Merge should append that data or change that data within the row or column.

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

    Re: Aggregate data from Multiple workbooks

    Usually if the data has already been consolidated and then there are changes to your data, its better to run the macro again. This is the ideal way in such a scenario.

  7. #7
    Registered User
    Join Date
    07-31-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Aggregate data from Multiple workbooks

    The macro is there to allow easy data input into the individual workbooks that each team member has.... I need a solution to merge/aggregate the data from each workbook that is on the file that you have. Is it possible?

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

    Re: Aggregate data from Multiple workbooks

    Try this code
    Please Login or Register  to view this content.
    - if you have made any updates to the other sheets, rerun this macro as it will clear the contents of the Team Merge sheet and re-populate the data.

  9. #9
    Registered User
    Join Date
    07-31-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Aggregate data from Multiple workbooks

    Thank you! Pardon my ignorance, but how do I add the code? Do I insert a new module? Does the macro auto run? Any need to invoke it?

    ---------- Post added at 01:13 PM ---------- Previous post was at 12:54 PM ----------

    I figured it out! THANK YOU! I owe you beers.

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

    Re: Aggregate data from Multiple workbooks

    Am glad it worked.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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