Combine Multiple Worksheets into one table

Hello Everyone!
I have 2 Excel worksheets within the same workbook. Both have identical tables with almost the same fields except for 2 or 3 different columns in one of the sheets. Currently I have a macro assigned to a button on one of the sheets and I have to click on
it to combine the 2 sheets. I also have a Pivot Table on one of the sheets which pulls data from the table on that sheet and displays it on the existing sheet.
I wish to :
1. Combine (merge) these two sheets into one table on a new worksheet when Excel file is opened rather than clicking on the button.
2. Once the Excel file is opened, i would like to have the Pivot Table to pull data off the combined sheet and display it next to the combined table. Essentially I would like the Pivot Table to be refreshed with the new data from the Combined table rather
than from one table.
Is this possible ?
I use the following code to combine the two sheets, but I don't know how to proceed further. Can someone please help me with the rest ?? Thanks in advance.
Here's the code:
Option Explicit
Sub Combine()
Dim J As Integer
On Error Resume Next
Sheets(1).Select
Worksheets.Add
Sheets(1).Name = "Combined Results"
Sheets(2).Activate
Range("A1").EntireRow.Select
Selection.Copy Destination:=Sheets(1).Range("A1")
For J = 2 To Sheets.Count
Sheets(J).Activate
Range("A1").Select
Selection.CurrentRegion.Select
Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select
Selection.Copy Destination:=Sheets(1).Range("A65536").End(xlUp)(2)
Next
End Sub
The problem with being punctual is, there's nobody there to appreciate it !!!

Hi,
This is the forum to discuss questions and feedback for Microsoft Excel, the issue is more related to Excel DEV. I'll move your question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.

Similar Messages

  • HT4059 I'm trying to organize my PDFs in iBooks on my ipad2 and I can't figure out how to combine multiple PDFs into one. Any thoughts?

    I'm trying to organize my PDFs in iBooks on my ipad2 and can't figure out how to combine multiple PDFs into one. Any thoughts?

    I'm trying to organize my PDFs in iBooks on my ipad2 and can't figure out how to combine multiple PDFs into one. Any thoughts?

  • What product do I need to just combine multiple pdfs into one pdf

    What product do I need to just combine multiple pdfs into one pdf. Thanks

    Are these files fillable forms?
    Could you need to combine more than 100 MB of files?

  • How do I turn off automatic bookmark creation when combining multiple PDFs into one?

    When I combine multiple PDFs into one, I need Adobe to use the CUSTOM bookmarks I created in the original PDFs. I do NOT want the additional PDF name as a bookmark in this instance. Is there a way to turn this option OFF in Acrobat Professional? I have version 9.

    You can not automatically turn off this action nor can you remove the 'file_name.pdf' heading, but you could add a button or menuitem to remove the 'file_name.pdf' from the bookamarks. Yes, it is one more step to perform when combining PDFs, but is you want until you have all of the PDFs combined you only need do it once.
    Removing filename bookmarks created by Acrobat by Sean Stewart
    From the above article:
    "With the release of Acrobat 6 came the ability to create a composite (binder) document from multiple files, (i.e. File > Create PDF > From Multiple Files.) When this is done, Acrobat automatically inserts a new top level bookmark at the start of each new file. The bookmark title will correspond to the source filename of the source file. While this level of separation can be helpful, it is counterproductive when the user wants the bookmark tree in the merged document to be continuous.
    "Here's a sample JavaScript to remove the top level bookmarks from the bookmark tree. This script will look for a ".pdf" extension to decide whether to remove the bookmark."
    With some additional coding you can add menu item or toolbar button.

  • Combine multiple drawings into ONE SHEET

    Hello, this is a question on Acrobat Pro, ver 8, using Windows XP. I guess I understand how to combine multiple files into a single PDF-file. However, this morning I happened to see the option mentioned in the subject line. When you go to "Combine files" > "Getting started with combined files" and select "CAD drawings" the description reads: "Combine multiple drawings into one sheet that's easy to navigate and print". How can this be done? I need to combine 8 ea CAD drawings (already converted to PDF) into ONE SHEET for printing without having the need taping 8 pieces of paper together. Arranging the drawing within the CAD application is not an option because the files were delivered by a 3rd party company and they only deliver PDFs

    Hi Priya,
      You can do this by merging the requets.
       1. goto Se10 and right click on the request and seelct merge requests.
       2. It will ask you from request and to request. Give the request names.
       3. After merging first request contents will be added to second request and
           first request will be deleted.
      Like that you can merge 3 requests to one request.
      Let me know if you want more info.  
    Thanks & Regards,
    Siri.

  • Using DATA_CELL and multiple queries into one table

    Hi WAD experts,
    I have been trying to work out how to combine multiple hidden query result sets in their own tables in the template, into one table displayed as if the data originated from one query.
    I have been looking at using the DATA_CELL method of "modify table" class.
    Has anyone had to do this before - and if so do you have any clues as to how best to do this ?
    Thanks
    Chris

    Here is what I want:
    Say I have a query that tells me about how many items were sold at a hardware store for each week. Then the output would look something like this:
    Week,Item,Num_Sold
    13,Hammer,15
    13,Nail,594
    13,Screw,398
    14,Hammer,16
    14,Nail,382
    14,Screw,331
    But I want my output to look like this:
    <space>,13,14 <-- these would be the week numbers
    Hammer,15,16
    Nail,594,382
    Screw,398,331
    I asked this same question in a SQL-only forum and one person responded that they did not know how to do that. But I figure that this is done often enough that there must be some Open Source program that can transform the output data into a table. As you can see, it's not a pure transform. It's more like I take one column, make that the x-axis, another column, make that the y-axis, and "plot" the data based on the two columns. It's kinda like taking 1D data and making it 2D. There's no existing open source program which does this? I figure that I could just give the program my SQL queries, specify some rule such as "Make the first column of the resultset the row, make the second column the column and create a table with the 3rd row, using the first two rows to map the 3rd row into the table". Note that I think this only works with 3 columns.
    Anyway, if there is no simple program that already does this, I can make a program to do what I just described. I just asked the question here because I figure that there are a lot of people knowledgeable about SQL and Java on this forum and that someone would know of a tool which already does what I want if one exists.

  • How can I combine multiple pdfs into one document?

    I need to consolidate multiple docs into one.  How do I do that?

    It's pretty easy. Open multiple PDF documents in Apple Preview that came with your Mac. Choose View/Thumbnails so you can see the page thumbnail icons. Select any number (or all) of the page thumbnail icons of one document and drag them to any point in the thumbnails of another document.
    For example you can drag page 6 of one PDF between pages 40 and 41 of another PDF doc. But it sounds like you want to select all pages of one PDF and drag them to the end of another PDF doc.
    If you need more powerful document combining you can use PDFpen or Adobe Acrobat Professional, but they cost money.

  • When combine multiple PDFs into one, some letters are missing and display wrong letter

    Hi all. I get a problem with combine multiple PDFs into a single PDF document. There are some PDF documents and they are working fine to open each document separately. But after I use Adobe Acrobat 8 Standard to combine them into one, some letters are missing and some display wrong letter (e.g. "forums" display "fo ums"). Our company has Adobe Acrobat 8 Standard, Adobe Acrobat 7 Professional and Standard. But all of them have some problem. Does anyone have idea for that? Please help me! Thanks very much!

    I have a similar situation, but my PDFs look fine in Acrobat Pro 8,Acrobat Reader 8, and Apple preview, but are missing letters in Acrobat Pro 7. I think it stems from the files being combined all having the same font, but each having a unique subset stored in the respective files, but with the same name (and ID?), and when they are combined, the character sets are getting hosed somehow.

  • Combine multiple jars into one product jar

    Hi everybody,
    I use multiple third party jar APIs in my applet project. When I built the project, I get one product jar and the other jars in LIB folder. I am wanna produce only one jar including other jars inside. I use netbeans.
    Shortly How can I combine all jars into one jar ?
    Thanks...

    woaw, Got it: http://www.oracle.com/technetwork/articles/javase/single-jar-141905.html
    Other jars were signed jars in project. Now, I got only only one jar and unsigned.
    If I sign this unique jar, will I see a problem ?

  • How to combine multiple webservices into one WSDL file

    Gurus,
    I have 4 four webservices(ws1,ws2,ws3 & ws4) defined in XI. Normally in XI when we define webservice ,WSDL file will be generated for each interface. Now I have 4 related interfaces, so 4 WSDL files will generated. Suppose if I have 100 webservices then 100 WSDL files need to be generated & need to send to other party to consume our services, which is very tedious task & to track also. So is it possible to combine related webservices into one WSDL file? Your inputs will be highly appreciated.
    Regards,
    Santhosh

    Hi,
             Instead of trying to combine the interfaces, you can try to define your interface mapping with 4 sender interfaces with in one interface mapping . I think this may give you the result you are expecting.
                      If you want entire content to be in one interface , then, define single interface which can accomadate, all message ocntent of all 4 interfaces.Means your sender message to contain the 4 datatypes internally.
    Regards,
    Reyaz

  • Combining multiple projects into one larger project?

    If I have multiple separate projects and now want to combine them, edits, titles and all into a larger project, is it possible? I expected that it might be possible to drag one project into another and place it intact onto the timeline for the new project. Since every combination of dragging a project around has evidently failed to accomplish what I'm expecting... is there a way to do this?

    welcome phiphika to the  board…
    in terms of convenience, I would indeed export/share all 6 movies.
    to tape, or as Quicktime/FullQuality…
    both methods create a lossless copy of your final movie(s).
    in step II, import all 6 project into a new iM project, as said above, you don't loose ay quality with that back'n forth copying... only some time ;-)… you can set then chapter markers etc....
    besides, your workflow is as mine on larger projects: not 678 clips into one monstrous project of some dozends Gigabytes, just segments…

  • Combining Multiple Datasets into one tablix

    I have a report in Report Builder that has 5 seperate DataSets.  Employee, Loan, Deposits, Membership & Credit Card.  In each dataset there are different data elements for each depending on the dataset.  I am trying to combine all
    the data from these datasets into one tablix with the Employee Table as the lead.  Ideally i would like to do a lookup function and say match employee number to the employee number in all the datasets and give me a sum/count of the items in that dataset
    for each employee number, but the lookup function does not allow me to look up aggregates.  I need help!!! 
    If this was excel i would do a sum if function but i cannot seem to get that to work in Report Builder.  I could accomplish displaying the data by encorporating subreports into my table but then i would not be able to add up percentages from each catagory
    to try to determine an employee ranking percentage.
    Any assistance provided would be greatly appreciated.
    Thanks
    Robert

    You probably will do best by asking this in the InDesign forum that relates to your operating system.

  • Combining multiple SWFs into one then optimize file size

    I am new to Flash and have been asked to combine six
    different SWF files into one. What is the best way to do this? This
    seems like the file size would blow up. Can anyone share some
    thoughts on how to optimize the final file size so that it is
    managable?
    Thanks

    Ok I will take the last question first, since that is probably the easiest.end
    A merged file or a flattened file is the same thing as a composite.
    A merged file still has its transparency and data that is outside the canvas area.
    A flattened file is a merged file that is converted to a background layer that does not support transparency or data outside the canvas.
    A composite can be a merged copy of the existing layers if you use the multiple key strokes I mentioned above. Whereas a merged file is a composite of the original layers. So I personally use the term composite to mean a copy as merged and flatten already explain that process, no need to give them an additional term to mean the same thing.
    Generally blend modes work by selecting individual layers before changing the blend mode. However you can group the layers or convert them to a smart object and apply a blend to that group or object.
    Normally you set the blend mode as you work on each layer. But you could set all of them to overlay or reduce the opacity to 30 or 50 percent to see through all the layers, then adjust them later on.
    I am not sure how it works on the mac, but on windows you can select the blend text box then use the up and down arrow keys to change the blend mode to see how it looks.
    I recommend that you go through the free videos on layers, masks, opacity, and layer styles. This will help you dramatically. Also a few books on the subject will help has well.
    (free)
    http://creativesuitepodcast.com/
    http://kelbytv.com/
    http://tv.adobe.com/
    http://www.youtube.com/
    (pay)
    http://kelbyone.com/
    http://Lynda.com

  • Combining multiple databases into one in the physical layer

    I have several databases in the physical layer that I would like to combine into one database. How can I do this safely without interfering with the existing physical joins in the physical layer and the column mappings in the BMM layer ?
    Can you recommend the best procedures to follow in order to get this accomplished?
    Boniface Ntawutarama

    hi Boniface,
    I think so No,you cant combine all databases into single one.Actually why you want to do this?
    According to the requirement you select a database and concerned tables to build the repository,same way with other databases also you build RPD and establish joins in physical layer
    Lets wait for any more specific answers on this from experts.
    By,
    Kranthi.

  • Is it possible to combine multiple IR into one Internal order?

    Hi,
    Is it possible to combine multiple internal requisitions into one internal order in OM? Thanks
    Regards
    Leo

    Oracle Order Management provides one to one mapping between Order and (orig_sys_document_ref & Order source). You may need to go for custom solution to consolidate requisitions to create a single internal sales order.

Maybe you are looking for