+ Reply to Thread
Results 1 to 6 of 6

Graph based on 2 drop down list

  1. #1
    Forum Contributor
    Join Date
    06-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    127

    Graph based on 2 drop down list

    Hi Guys

    Need your help to show in one graph the data based from the drop down list,

    Attached excel file for reference. Appreciate your help guys. Thanks
    Attached Files Attached Files

  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,864

    Re: Graph based on 2 drop down list

    You shall build your graph based on named ranges. See attached file - 4 names defined. Two just pointing to the cells with your lists. Two other (for series and horizontal axis description) are based on OFFSET function. Check it out with Ctrl+F3.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-12-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    15

    Create work book that references data of other sheets

    wow, that is really cool
    Last edited by Julian86; 12-19-2013 at 05:15 AM.

  4. #4
    Forum Contributor
    Join Date
    06-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: Graph based on 2 drop down list

    Thanks Kaper, is it possible to show the graph as 12 months and just fill out the graph depending on the month selected? Thanks

  5. #5
    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,864

    Re: Graph based on 2 drop down list

    Hi,

    The quickest way would be to add NA() at the end of series, but then you would receive slope to 0 from the last month (selected) to the one just folowing. (probably not what you would really like - see it on a pisture).

    To have vertical "wall" after last month selected I'd suggest adding second "dummy" series wit empty values in it.
    you can them click on the legend enrty, click on "dummy" in it and delete (it is improtant that it shall be two separate clicks - not doubleclick).
    see the difference between upper (with extra legend entry) and lower charts.
    This is how lower graph on the picture (and in the spreadsheet) is made.

    Of course, as you are showing always 12 months - it is lo nolger needed to have a dynamic horisontal axis - categories are taken directly from worksheet DATA
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Kaper; 12-19-2013 at 06:43 AM.

  6. #6
    Registered User
    Join Date
    12-21-2013
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Graph based on 2 drop down list

    Really so cool stuff..Keep it up.

+ 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. How to create a drop down list based on the choices of another drop down list?
    By Happy jain in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2013, 01:54 AM
  2. Populate Drop-down list based on selection from previous drop-down list
    By Diventus in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-11-2013, 10:55 AM
  3. Populate Drop-down list based on selection from previous drop-down list
    By poison_stone in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-11-2012, 06:10 PM
  4. Drop Down/Selection List to Populate a Graph
    By Swoootie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-20-2012, 05:42 AM
  5. I would like to know how to automate graph using drop down list
    By Lokesh in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-17-2005, 12:05 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