+ Reply to Thread
Results 1 to 6 of 6

How to create a dynamic chart using a pick list and a check box..

  1. #1
    Registered User
    Join Date
    06-30-2010
    Location
    Newport New VA
    MS-Off Ver
    Excel 2003
    Posts
    97

    How to create a dynamic chart using a pick list and a check box..

    Hello I'm hoping someone can help. I have seen videos on how to create and use pick list for dynamic charts, and how to use check list for dynamic charts, however I was hoping to find a way to combine the two. So what I want for example, is to have a pick list that would choose the different charts, and then when that chart is displayed I can use check box to remove and add in various measurements on the chart. Example I could use the pick list ot pick California.. California chart would show up. That chart has multiple measurements on it..basically a combo chart that has bar graphs, and line graphs.. well I would like to use the check box feature to show the box graph or remove it showing on the line graph, and vice-versa.

    Does anyone have any clue how this can be done. I know how to use check box with the index function.. and I know how to use the validation feature for a pick list/ or combo box.. but it's seems like you can only use the combo box/pick list to show one measurement on a chart not a combo chart..

    I attached a file to show you the charts in first tab, a table version in second tab, and the pick list in the 3rd tab.. I don't have a check list version, but I know how it's done.

    Thanks for your help. Hopefully wont need to use VB code to do this..If vb is needed hopefully it's very simple. As this is something I willneed to do variations of quite often.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-30-2010
    Location
    Newport New VA
    MS-Off Ver
    Excel 2003
    Posts
    97

    Unhappy Re: How to create a dynamic chart using a pick list and a check box..

    Wow can't believe no-one has a solution for this!!

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to create a dynamic chart using a pick list and a check box..

    Quote Originally Posted by Dariusd7 View Post
    Wow can't believe no-one has a solution for this!!
    Well, it's not easy to reply to this. You posted a sample file, which is great. But your questions don't connect with that file.

    >> Example I could use the pick list ot pick California..

    Well, your sample data does not have that kind of data. Where does "California" feature in your sample file?

    You may want to come up with a scenario that applies to your data sample.

    As a general idea: dynamic charts work with either dynamic range names plugged into the chart data series or with the chart rendering data from a helper table that gets its values based on parameters selected elsewhere in the file.

    Please post a "before" and "after" scenario that is relevant to your data.

  4. #4
    Registered User
    Join Date
    06-30-2010
    Location
    Newport New VA
    MS-Off Ver
    Excel 2003
    Posts
    97

    Smile Re: How to create a dynamic chart using a pick list and a check box..

    Thank you Teylyn.


    I have attached the actual data set and chart examples.. The first tab has the table of data, the remaining tabs have all the chart examples. So what I am looking for is to be able to display each of
    the charts by service location, and then have the ability to display or hide each chart measurement. So for example I could display from a drop list California's(CA) chart and then with Multiple check boxes or radial button, hide MSO opened bar graph metric, or MWO Opened line graph metric from the Chart, or hide all and only show MWO Backlog Bar graph. You will see each of these metrics on the charts.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-30-2010
    Location
    Newport New VA
    MS-Off Ver
    Excel 2003
    Posts
    97

    Re: How to create a dynamic chart using a pick list and a check box..

    I actually figured out how to do this. I will add instructions as soon as I can. or attach a file with example..Basically used a combination of Indexes, and if statement with vlookup.

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to create a dynamic chart using a pick list and a check box..

    OK,

    I was just starting to work on this. My approach would be:

    Create a table that is the basis for the chart.
    Create a drop-down with all the states / Service Locations.
    Use lookup formulas like Index/Match to populate the table with the data for the selected Service Location.
    Create a chart from that table.

    In order to show/hide specific series (measures), you need to hide rows in the data table that feeds the chart.

    You can create 6 form control tick boxes for Open, Closed, Backlog for each MSO and MWO. When a box is unticked, a VBA macro will hide the row in the data table and it will not show in the chart.

    If you need help with that setup, please let me know.

    cheers, teylyn

+ 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. Chart to pick up dynamic (supplemented) data range
    By pelachrum in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-15-2013, 09:19 AM
  2. Dynamic Chart(s) that pick up isolated data based on cell entry
    By ObiWanBaloney in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-07-2012, 05:42 AM
  3. Have a dynamic list changes each month.......want user to pick items from this list.
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2011, 03:52 PM
  4. How to create a Multi-pick list
    By gurp99 in forum Excel General
    Replies: 1
    Last Post: 04-20-2010, 05:12 PM
  5. [SOLVED] How to create pick list in VBA
    By John in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2006, 03:20 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