+ Reply to Thread
Results 1 to 10 of 10

How to make different series have the same legend description

  1. #1
    Registered User
    Join Date
    11-18-2010
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    41

    How to make different series have the same legend description

    Hi,

    So I have attached a file of mine, where I have data that I am comparing between a North site and a South site during the month of August in 2011 and 2012. I have it so check boxes can populate the graph when checked, but I need a way to make it so that my data series can have the same legend description. For instance, if I have one check box checked, it shows the data from North and South in the specified year. The legend will say North for one line and South for the other. When I uncheck that box and check the other one, I want it to have the same North and South description if possible. It's kind of hard to make sense of this in words, but if you look at my excel file you should know what I'm getting at. Any help would be greatly appreciated.
    NorthvsSouth.xlsm

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to make different series have the same legend description

    Why not rename the legends to North 2012, South 2012 & North 2011, South 2011?
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    11-18-2010
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: How to make different series have the same legend description

    I would do that if it was going to stay this small, but I will be adding much more data and it's always going to be North vs. South and would like to keep the legend Clean looking.
    Last edited by Cutter; 07-20-2012 at 11:08 AM. Reason: Removed whole post quote

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: How to make different series have the same legend description

    You could use a table and then the legend would keep itself tidy.

    If you where only allowing for the display of 1 year at a time then you could delete all but the first 2 legend entries. Although you would need to format all the series in the chart correctly
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    11-18-2010
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: How to make different series have the same legend description

    That works but I don't want to have my data viewable, I plan on hiding it, so my goal was to have it so when you used the check boxes it would tidy it up. Don't know if that's possible though.
    Last edited by Cutter; 07-20-2012 at 11:09 AM. Reason: Removed whole post quote

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: How to make different series have the same legend description

    To control the data table from a different sheet would require VBA.

    You did not answer the question about whether you are expecting to display multiple years in a single chart.

  7. #7
    Registered User
    Join Date
    11-18-2010
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: How to make different series have the same legend description

    I don't need to display different years, the years don't matter to me. The difference between North and South is all I plan on showing in my graph at one given time, that is, there will be two lines, one for North, one for South, everytime the data is populated in the graph. I just want to make it so that I don't have multiple Norths and multiple Souths in the legend becuase that would be way too cluttered for the amount of data I will eventually have.
    Last edited by Cutter; 07-20-2012 at 11:09 AM. Reason: Removed whole post quote

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: How to make different series have the same legend description

    Then use option button instead of checkbox and pick the values from the data table for the appropriate year
    Attached Files Attached Files

  9. #9
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to make different series have the same legend description

    @ eface2face

    Please notice that I have removed whole post quotes from your posts(s). Please read the following forum rule and keep it in mind for your future posts. Thanks.

    Rule 12. Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.

  10. #10
    Registered User
    Join Date
    11-18-2010
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: How to make different series have the same legend description

    @ Cutter

    My apologies.

    @ Andy Pope

    I think that might be what I'm looking for, I'll see if I can make it work. Thanks for you input and help.

+ 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