+ Reply to Thread
Results 1 to 15 of 15

Creating a Master table from several smaller tables

  1. #1
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Creating a Master table from several smaller tables

    Each month I copy a consumer report in the form of a table into a worksheet that corresponds with the month of the year. For purposes of reporting, I'd like to make a master table that has 2 columns:

    Column A - Month (worksheet Name)

    Column B - a concatenated list of all values from column complaint_type accross all 12 worksheets.


    Is this possible?

    thanks!

    Bruce

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Creating a Master table from several smaller tables

    Hi Bruce

    In a word - Yes

    The solution will depend on exactly what you have in the consumer reports and how you want it displayed in the Master. If you upload a sample of both, I a, sure that someone will be able to advise

    Regards
    Alastair

  3. #3
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Creating a Master table from several smaller tables

    Hi Alastair,

    Thanks for responding, This is my spreadsheet. For clarification, I want the Cumulative tab to List the month and complaint type only, from the other 12 tabs.

    Thanks again!

    BruceCustomer Complaints (Sample Data).xlsx

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Master table from several smaller tables

    Try this macro on a copy of your data.

    Please Login or Register  to view this content.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Creating a Master table from several smaller tables

    wow, that's brilliant. Thank you!

    2 quick questions:

    1. Would it be possible to include in the code instructions to format the new list as a table?

    2. Would it be possible to filter out blank records? By default the empty tables all have a single blank record on them so that when I copy the data from the consumer report it will be inserted into the table. If I could filter these out it would make this code perfect for what I need it to do

    Thanks again!

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Master table from several smaller tables

    @brharrii

    1) why make a table of it, you gonna make a pivot table of it?

    2) and do you need the months with no value's in it also (e.g. november / december) or these can be deleted also?

  7. #7
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Creating a Master table from several smaller tables

    @brharrii

    1) why make a table of it, you gonna make a pivot table of it?

    Not a pivot table no, I thought it might be handy to be able to sort by complaint type or month to get an idea for trends. This is not vital though, and may actually be not necessary the more I think about it.


    2) and do you need the months with no value's in it also (e.g. november / december) or these can be deleted also?
    The months with no value should be deleted as well. So the final list should only have records that have values under "complaint type". No nulls / blanks.

    Thanks again
    Last edited by brharrii; 07-17-2013 at 05:46 PM.

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Master table from several smaller tables

    Without the table, but with deleted rows.

    Try the code on a sample of your data.

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Creating a Master table from several smaller tables

    Brilliant, Thank you Very much

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Master table from several smaller tables

    Thanks for the reply.

    Glad I could help.

  11. #11
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Creating a Master table from several smaller tables

    One more detail if you don't mind.

    I just implemented this code into my live workbook. It is working great, with the exception of one thing. I have a few additional worksheets in the Live workbook besides the monthly ones. Information from these tabs are importing into my list. Is it possible to only reference the tabs January - December?

    Thanks again for all your help

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Master table from several smaller tables

    @brharrii

    Make (and post) an excel example so I can take a look at how those sheets look like.

    They have a specific name?

    How many are there?

  13. #13
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Creating a Master table from several smaller tables

    Hi, sorry for the delay in getting back to you. Thanks again for all your help

    This is the notebook. The tab names are consistant. They won't ever change. If you have any questions let me know,

    Thank you! Customer Complaints (Sample Data).xlsm

  14. #14
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Creating a Master table from several smaller tables

    In that case this code should work for you.

    Please reply.

    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Creating a Master table from several smaller tables

    That seems to have done the trick, Thank you very much

+ 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] Saving one Master workbook into smaller workbooks
    By fdotlix in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-06-2013, 04:31 PM
  2. 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
  3. Replies: 15
    Last Post: 06-26-2011, 09:10 PM
  4. Creating a master table from a separate input sheet
    By WasWodge in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2010, 11:30 PM
  5. [SOLVED] how to set up master page that will auto update smaller pages
    By Chosin healing in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2006, 09:25 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