+ Reply to Thread
Results 1 to 6 of 6

Line Graph - Do plot zero, Don't plot #NA

  1. #1
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    Line Graph - Do plot zero, Don't plot #NA

    Hi guys

    I'm creating some charts to show performance and have different coloured series depending on whether achievement was below 90%, 90-95 and >95%.

    The problem I'm having is that I do need to plot zero values, but I don't want to plot #NA values - eg. July is 0%, Aug is 95%, Sept #NA and Oct 56% - I would like the line to miss out Sept and join Aug directly to Oct.

    I've attached a simplified version to try and demonstrate the problem and would be glad of any input. I'd also be happy to listen to ideas of how this info could be better presented as I've a feeling it's going to look a bit messy once I add in another 2 full series of data...

    Thanks
    Attached Files Attached Files
    Last edited by Janc; 02-25-2010 at 11:05 AM.

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

    Re: Line Graph - Do plot zero, Don't plot #NA

    #N/A suppresses data marker only.

    If the cell contains something the line will remain intact.

    This may help, if the data suits.
    http://www.andypope.info/charts/brokenlines.htm
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    Re: Line Graph - Do plot zero, Don't plot #NA

    Thanks for the link, some great stuff on there - but nothing that would help me with this that I could see unfortunately.

    My chart seems to be taking the #NA and including it as a 0% data point, but with a >95% marker..

    Do you have any other suggestions?

    Thanks
    Jan

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

    Re: Line Graph - Do plot zero, Don't plot #NA

    I just checked your file.

    You have #NA which is just text so treated as zero.

    Use #N/A or the formula =NA()

  5. #5
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    Re: Line Graph - Do plot zero, Don't plot #NA

    Brilliant, thanks!

    Whoever thought that something so stupid/simple would cause me such a headache!!

  6. #6
    Registered User
    Join Date
    04-01-2012
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Line Graph - Do plot zero, Don't plot #NA

    Great tip. I have been manually leaving cells blank to avoid trend lines dropping to zero. Thanks a lot!

    Quote Originally Posted by Andy Pope View Post
    I just checked your file.

    You have #NA which is just text so treated as zero.

    Use #N/A or the formula =NA()

+ 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