Closed Thread
Results 1 to 13 of 13

How do I create a dynamic table from another tables data?

  1. #1
    Registered User
    Join Date
    12-17-2020
    Location
    Auckland, New Zealand
    MS-Off Ver
    MS 365 for business
    Posts
    28

    Unhappy How do I create a dynamic table from another tables data?

    Hello Community,

    I was hoping someonewith a better excel brain than me will be able to help me with an issue.

    I basically have a master table:
    Project name / Status (open or Closed) / Budget / Buniess Unit (A or B).

    Is it possible to create a dynamic table from another table?
    I.e. I want to list out in two separate tables on two separate sheets

    Table 1:
    All open projects from business unit A

    Table 2:
    All open projects from business unit B

    The list would grow/shrink through the month depending on whats projects get closed off by the delivery team & what new projects the sales team bring-in.

    Thanks for all your help
    Tony
    Last edited by Ciggy36; 12-17-2020 at 11:30 PM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Dynamic tables

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    12-17-2020
    Location
    Auckland, New Zealand
    MS-Off Ver
    MS 365 for business
    Posts
    28

    Re: Dynamic tables

    OK trying this v2:

    Testing file V2.xlsx
    Last edited by Ciggy36; 12-17-2020 at 08:23 PM.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Dynamic tables

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    12-17-2020
    Location
    Auckland, New Zealand
    MS-Off Ver
    MS 365 for business
    Posts
    28

    Unhappy How do I create a dynamic table from another tables data?

    Hi Thanks for your assistance. Thread title has been updated.

    I've also uploaded a simplified version of what I'm trying to achieve here:
    Test Sheet 1.xlsx

    Basically, we have a table that has all the overview data for the companies projects
    i.e.
    Project name / Status / Unit

    From this table I need to populate two new tables (happy to listen to other considerations).

    These two tables would be handled under two different business units.
    And they only care about open projects.

    Business unit A, would use the master data and add in billing amounts for the upcoming months.
    Business unit B, would use the master data and add in billing amounts for the upcoming Quarters.

    The need would be for if the sales team signed a new project for business unit B (project 'foxtrot') it would be added to the master table, but would automatically get added to the table used by business unit B

    Does this make sense?

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: How do I create a dynamic table from another tables data?

    I put your "Master Table" in an Excel Table.
    Then for your "A" Unit, you could enter:

    =FILTER(Table1,(Table1[Unit]="A")*(Table1[Status]="Open"))

    And for your B, enter:

    =FILTER(Table1,(Table1[Unit]="B")*(Table1[Status]="Open"))

    This solution is only for O365 users (which you are on) because it uses dynamic array formulas.

    The downside to this solution (and pretty much with any solution) is that if you remove or resort the data, the data that is added to the right of this will not stay intact. So as long as you don't re-sort, filter, or delete rows, this will work.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-17-2020
    Location
    Auckland, New Zealand
    MS-Off Ver
    MS 365 for business
    Posts
    28

    Re: How do I create a dynamic table from another tables data?

    Quote Originally Posted by benmartin9920 View Post
    Dynamic tables in excel are the tables where when a new value is inserted to it, the table adjust its size by itself, to create a dynamic table in excel we have two different methods the once is which is creating a table of the data from the table section while another is by using the offset function, in dynamic tables the reports and pivot tables also changes as the data in the dynamic table changes.
    There are two basic ways of using dynamic tables in excel – 1) Using TABLES and 2) Using OFFSET Function.
    Using Tables to create Dynamic Tables in Excel
    So we will first make a dynamic range.

    #1 – Select the data, i.e., A1:E6.
    #2 – In the Insert tab, click on Tables under the tables section.
    #3 – A dialog box pops up.
    As our data has headers so remember to check on the box “My Table has headers” and click ok.

    #4 – Our Dynamic Range is created.
    #5 – Select the data and in the Insert Tab under the excel tables section, click on pivot tables.
    #6 – As we have created the table, it takes a range as Table 2. Click on OK and in the pivot tables, Drag Product in Rows and Sales in Values.
    #7 – Now in Sheet where we have our table insert Another Data in 7th
    Our dynamic Pivot table has automatically updated data of Product 6 in the pivot table.

    I hope this information will be useful!
    Ben Martin
    Thansk for the help

  8. #8
    Registered User
    Join Date
    12-17-2020
    Location
    Auckland, New Zealand
    MS-Off Ver
    MS 365 for business
    Posts
    28

    Re: How do I create a dynamic table from another tables data?

    Quote Originally Posted by Gregb11 View Post
    I put your "Master Table" in an Excel Table.
    Then for your "A" Unit, you could enter:

    =FILTER(Table1,(Table1[Unit]="A")*(Table1[Status]="Open"))

    And for your B, enter:

    =FILTER(Table1,(Table1[Unit]="B")*(Table1[Status]="Open"))

    This solution is only for O365 users (which you are on) because it uses dynamic array formulas.

    The downside to this solution (and pretty much with any solution) is that if you remove or resort the data, the data that is added to the right of this will not stay intact. So as long as you don't re-sort, filter, or delete rows, this will work.
    Great thanks for this.
    If another status was to be added:
    OPEN, CLOSED, Prospect

    So if I wanted to run the Filter formula to show all of Unit B AND OPEN OR Prospect - then how would I set this up?
    i.e. it would return all rows that are Unit B and Open - plus Unit B and prospect
    I tried the following but it does not work:
    =FILTER(Table1,(Table1[Unit]="B"),OR(Table1[Status]="Open",Table1[Status]="Prospect"))

    Thanks for the help

  9. #9
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: How do I create a dynamic table from another tables data?

    Try this:

    =FILTER(Table1,(Table1[Unit]="A")*((Table1[Status]="Open")+(Table1[Status]="Prospect")))

  10. #10
    Registered User
    Join Date
    12-17-2020
    Location
    Auckland, New Zealand
    MS-Off Ver
    MS 365 for business
    Posts
    28

    Re: How do I create a dynamic table from another tables data?

    Quote Originally Posted by Gregb11 View Post
    Try this:

    =FILTER(Table1,(Table1[Unit]="A")*((Table1[Status]="Open")+(Table1[Status]="Prospect")))
    You sir, are an absolute legend

  11. #11
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: How do I create a dynamic table from another tables data?

    Glad it worked, and thanks, but some of the people on this forum blow my mind! :-)

  12. #12
    Registered User
    Join Date
    03-21-2024
    Location
    Michigan
    MS-Off Ver
    365
    Posts
    1

    Re: How do I create a dynamic table from another tables data?

    I trying to do something very similar. Do the headings need to match in order for it to work properly? Also where are you entering the formula? I have tried highlighting an area and just entering it in the first box but it keeps coming back with a #CALC error. I only have one filter parameter I need it to look up but would like it to return all 17 columns of data. Is that possible?

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: How do I create a dynamic table from another tables data?

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar or even the same as this thread, we have a rule that you open your own thread on the issue and do not piggy back another member's thread.

    Please see Forum Rule #1 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Dynamic hlookup from two tables
    By Dewdrop in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2014, 04:28 AM
  2. Dynamic Tables
    By SarahB2 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-22-2012, 03:06 PM
  3. Dynamic merge of tables
    By chrisanouk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2011, 02:31 PM
  4. dynamic data tables
    By neshev in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2011, 04:26 AM
  5. Excel 2007 : Dynamic Tables-IMPUT,
    By Nuno Neves in forum Excel General
    Replies: 0
    Last Post: 01-25-2011, 09:08 AM
  6. Dynamic Tables
    By amdk8800 in forum Excel General
    Replies: 1
    Last Post: 05-14-2010, 12:54 AM
  7. [SOLVED] Dynamic Pivot tables
    By Phil in forum Excel General
    Replies: 3
    Last Post: 01-31-2005, 12:06 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