+ Reply to Thread
Results 1 to 5 of 5

How to Concatenate Tables to make a dynamic Master Table?

  1. #1
    Registered User
    Join Date
    08-16-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to Concatenate Tables to make a dynamic Master Table?

    Hello,
    I am using Excel 2007 and have multiple defined/named tables that all have the same field headers. I would like to create a dynamic table that combines all of these tables. I can create such a table by copying the data in each table, and pasting it in a new table ("Big Table") using the "paste special" and "paste link". But, sometimes the amount of data in the source tables changes, and then this data isn't included in the master table. I can paste in extra rows in to the master table, and just keep them empty, but this is unwieldy, and sometimes I exceed the number of blank rows I added. There also isn't any error checking if this happens, other than the user paying attention to the amount of data added.

    Since Excel's tables are smart, and adjust their size as you add more data, it seems to me that I should be able to build my master table using references to the source table names, but I cannot figure out how to do it. The contents of my tables are categorical data, so the "consolidate" function does not work because it wants to perform math (you must choose a "formula") on the contents of the cells. I cannot make the pivot table work, because I loose a lot of sorting capabilities. For example, if I have column headers A, B, C and D in my tables, when I consolidate by pivot table, I now only have the field "columns" to move around, while if I created a pivot table from "Big Table", I can individually access fields A, B, C, and D, which is what I need.

    A variety of plugins exist for purchase that claim to do this, but none of them use the named tables to create the master table. If I have to manually select my ranges, then I'm better off with my lame pasting special-hyperlink with 50 extra empty rows method. I've spent hours searching for a solution... this seems a pretty straight forward task, but none of the search terms I have tried (merge, join, append, concatenate) turn up anything other than the consolidate or pivot table option. I did find some solutions that use SQL queries, but they don't seem to recognize (excel's named) tables, only the sheets (when system tables are selected) and some columns. Since I have multiple tables per sheet, and narrative text as well, this did not work. Additionally, the columns that I have tables in did not even appear in the selection menu, which was a little odd.

    Hope this is clear. If not, I can create a demo excel workbook and post it.

    Thanks.
    L.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: How to Concatenate Tables to make a dynamic Master Table?

    Can you use power pivot?

    How many rows are in each table?

    If you wanted to try the SUPER simple approach, could you not just link data that is 2x as many rows as each table. so if table 1-4 are all around 100k rows, can you not link 200k from each, giving you the big table as 800k? then filter out blanks?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: How to Concatenate Tables to make a dynamic Master Table?

    Mike OP has 2007, which does not have Power Pivot
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: How to Concatenate Tables to make a dynamic Master Table?

    Hi sinks and welcome to the forum

    It might be easier to understand what you need if we could see the demo workbook you mentioned?
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  5. #5
    Registered User
    Join Date
    08-16-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to Concatenate Tables to make a dynamic Master Table?

    Thanks for the suggestions. Yes, I do not have access to power pivot, as I am using Excel 2007. Your super simple approach is the one I'm using- I usually double the number of rows, but this also makes it hard to navigate the sheets (when you have 50 or 100 blank rows separating tables).

    I'll upload a demo file later- probably tomorrow, as I need a break from excel... I've been fighting with it all day.

    Thanks again.

    L.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Creating a Master table from several smaller tables
    By brharrii in forum Excel General
    Replies: 14
    Last Post: 07-19-2013, 10:19 AM
  2. [SOLVED] pivot table from multiple dynamic tables
    By Kezwick in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-12-2013, 05:57 AM
  3. [SOLVED] Help with a Master Dynamic Table involving multiple sheets
    By adawg in forum Excel General
    Replies: 4
    Last Post: 04-17-2012, 07:07 PM
  4. Macro - Create smaller word tables from master excel table
    By VBA_n00b in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2011, 10:12 PM
  5. How to key off data from two tables to make a third table
    By welchs101 in forum Excel General
    Replies: 2
    Last Post: 06-08-2011, 10:15 PM

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