+ Reply to Thread
Results 1 to 7 of 7

appending tables

  1. #1
    Registered User
    Join Date
    01-02-2011
    Location
    london, england
    MS-Off Ver
    excel 2007
    Posts
    5

    appending tables

    How would I append two tables side by side on the same sheet into a (single) third master table? The tables each have three exactly similar columns: quantity, length, and width. Very simply, I just need to join these into a long list. Cut and paste will not work because the tables are dynamic and need to be added to in the worksheet.
    Last edited by ronster; 01-20-2011 at 10:23 PM.

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

    Re: appending tables

    Post your sample workbook showing these two dynamic tables and an exact mockup of exactly where/how the new table should look. We'll see what we can suggest...

    Click GO ADVANCED and use the paperclip icon to post up a desensitized copy of your workbook.
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    01-02-2011
    Location
    london, england
    MS-Off Ver
    excel 2007
    Posts
    5

    APPENDING tables

    posting attached sample...I would like to be able to combine both table1 and 2 into a single master table. Pivot table, and consolidate command won't work for me because they try to sum the numbers which is not what I need. I just need the list merged.
    Attached Files Attached Files

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

    Re: appending tables

    This is a sheet event macro, found in the sheet module and is active at all times. It recreates Table 3 every time you make any change in Tables 1 & 2.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-02-2011
    Location
    london, england
    MS-Off Ver
    excel 2007
    Posts
    5

    Re: appending tables

    Thank you! That worked very well. I appreciate the help.

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

    Re: appending tables

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  7. #7
    Registered User
    Join Date
    01-02-2011
    Location
    london, england
    MS-Off Ver
    excel 2007
    Posts
    5

    Question Re: appending tables

    So far the code you provided me with worked perfectly, much thanks. And I have been learning alot by studying it. What would I need to change in the code though in order for it to copy content(data) from cells and not formulas. As of now, if table 1 or 2 cells are referencing their data from another locaction, then the code copys the formula and ends up displaying zeros.

+ 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