+ Reply to Thread
Results 1 to 12 of 12

sub-tables from a master list

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    Ottawa,Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    sub-tables from a master list

    I am trying to create a dynamic sub-table on another sheet from a master list in excel 2007. Where the master list size can change and have this reflected in the sub-table. I cannot use pivot tables. Does anyone know how to do this?

    Example:
    Master List (Locations):
    London
    Drummond
    Kentville

    Sub List (should look like this):
    London #count
    Drummond #count
    Kentville #count

    Thank you

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,660

    Re: sub-tables from a master list

    you probably shall use function COUNTIF
    something like in B2 of Sheet Sub List
    =COUNTIF('Master List'!A:A,A2)
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    02-27-2014
    Location
    Ottawa,Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: sub-tables from a master list

    Yes countIF would give me the count but I need to automatically populate the Location names in the sub-sheet from the master-list

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,660

    Re: sub-tables from a master list

    After http://www.excelforum.com/forum-rule...rum-rules.html :
    Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

  5. #5
    Registered User
    Join Date
    02-27-2014
    Location
    Ottawa,Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: sub-tables from a master list

    Here is an example of what I want. The first sheet contains the location names, the 2nd sheet should be the dynamicly generated table using the location names from the 1st sheet.

    example.xlsx

    Any help would be appreciated

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: sub-tables from a master list

    Maybe something like this will help. I don't know exactly what you are counting in the two columns to the right but the formula can easily be changed to accommodate what you want counted.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    02-27-2014
    Location
    Ottawa,Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: sub-tables from a master list

    That close to what I need... but is there a way to make the data table change when a new location is added to the master sheet?

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: sub-tables from a master list

    Minor adjustment. Extend the sub table as required to accommodate the expansion of the Master.
    Attached Files Attached Files
    Last edited by newdoverman; 03-03-2014 at 11:06 AM.

  9. #9
    Registered User
    Join Date
    02-27-2014
    Location
    Ottawa,Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: sub-tables from a master list

    Can this be done automatically in the formula?

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: sub-tables from a master list

    The only way using a formula is to extend the sub table that has the formulae in it to get the data from the Master. Excel does not "Push" data it draws from a source which in your case is the Master file.

    You can extend the sub as far as you want to accommodate new data. If it is absolutely necessary to have the sub expand automatically, a VBA solution is the only way to do it which for the time being is not something that I can do for you.

  11. #11
    Registered User
    Join Date
    02-27-2014
    Location
    Ottawa,Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: sub-tables from a master list

    Thank you for the help

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: sub-tables from a master list

    You're welcome


    Thank you for the feedback.

+ 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. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-12-2013, 02:28 AM
  2. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-08-2013, 10:49 PM
  3. I need to copy the information of several tables to a master table
    By JCM_28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2013, 12:59 PM
  4. [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
  5. Consolidating Tabs Into One Master Sheet
    By juliorevka in forum Excel General
    Replies: 2
    Last Post: 02-06-2012, 02:14 PM

Tags for this Thread

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