+ Reply to Thread
Results 1 to 4 of 4

Append data in multiple sheets into one sheet

  1. #1
    Registered User
    Join Date
    04-28-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Append data in multiple sheets into one sheet

    Please help! I think I'm loosing it trying to figure this out.
    I have a workbook with multiple worksheets. All worksheets have same column headers, but no common information. I want to append/consolidate all this information.
    For example

    HTML Code: 
    Sorry, these are in html tags to keep the formatting.
    The idea is to have a pivot table that summarizes this data with report filter field 'requestor'.
    Both Sheet 1 and 2 will be updated constantly, so I want the summary sheet to be updated automatically as well so the pivot table provides latest info everytime it is refreshed. There are several othere columns of data that I want the pivot table to ignore.
    Please help me think through this.
    I tried using MS_query, but am not knowledgable enough to know how to pull data from both tables together when the data in each table is different.
    Thanks for your help.

    Thanks for the help, guys! U'll are my heroes!
    Last edited by excel_vb; 06-08-2010 at 06:36 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Append data in multiple sheets into one sheet

    Hi excel_vb

    I have no idea where I found this code. I typically attribute it but the code appears to do what you described. I've attached a workbook that you can play with to see how it works.
    Please Login or Register  to view this content.
    Let me know of issues you have adapting it to your needs.
    John
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Append data in multiple sheets into one sheet

    Here's a few little twists on Jaslake's macro...

    This will continue if the Master sheet already exists, it will simply reset it and make sure it's at the end of the workbook, else it will create it.

    I also took out the Excel 2003-specific row references... minor stuff.
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    03-22-2012
    Location
    Newcastle Upon Tyne, England
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Append data in multiple sheets into one sheet

    Hi,

    I have used the Macro above to pull info into a 'Master sheet'

    But I only need the same specific information from all the worksheets. The Macro above pulls in all the info from all the worksheets, is there a way of getting the info from the same cells in every sheet?

    i.e. Price is in G18 for all the worksheets, but there are different prices listed in each.

    Can this Macro pull the price from each work sheet and list them in the 'Master' Document when the macro is run?

    Thanks
    George

+ 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