+ Reply to Thread
Results 1 to 6 of 6

Help with building a dynamic table and chart

  1. #1
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Help with building a dynamic table and chart

    Can someone help me with building a dynamic chart and table? I have attached a sample worksheet.

    If you look at the first worksheet I have a listbox that runs a macro that feeds the selected values into the table on the right starting at I13. The columns J & K in the table are fed via a vlookup pulling data from the second worksheet.

    My qustion is how do I make the table on the first worksheet dynamic, so that when there is nothing selected it reverts to just one line and the same happens with the graph. Because if you look now it shows 0 values for 5 criteria.

    Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with building a dynamic table and chart

    Hi thelegazy,

    so that when there is nothing selected it reverts to just one line
    which one line you want to show when nothing is selected ?



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with building a dynamic table and chart

    Hi thelegazy,

    so that when there is nothing selected it reverts to just one line
    which one line you want to show when nothing is selected ?



    Regards,
    DILIPandey
    <click on below * if this helps>

  4. #4
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Re: Help with building a dynamic table and chart

    Quote Originally Posted by dilipandey View Post
    Hi thelegazy,



    which one line you want to show when nothing is selected ?



    Regards,
    DILIPandey
    <click on below * if this helps>
    Dilipandey,

    I've uploaded an uploaded file.

    If you select a, b, & c from the list box on the left you will see the graph and table on the right adjust (which is great), but if you go to deselect b & c you will see that the graph is still spaced out for three items rather than two. Same goes for the table.

    Is there anyway to fix it so that when you deselect the other two the graph will automatically adjust to the one selection?
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Re: Help with building a dynamic table and chart

    Bump, can anyone help me with this?

  6. #6
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Re: Help with building a dynamic table and chart

    Quote Originally Posted by thelegazy View Post
    Bump, can anyone help me with this?
    NVM, this thread helped me if anyone needs it: http://www.excelforum.com/excel-prog...ive-sheet.html

+ 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