+ Reply to Thread
Results 1 to 4 of 4

don't chart na/zero value in area chart

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    don't chart na/zero value in area chart

    I'm trying create an area chart and I do not want to chart zero values. I've tried using na(), zero value, and null in the data table but nothing seems to work (example attached). Is there any way to not chart this field? Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,606

    Re: don't chart na/zero value in area chart

    #N/A will really do a trick but not for area chart.

    Can you use a line chart instead?

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: don't chart na/zero value in area chart

    tried using the #N/A....it does work for line chart but management wants to see an area chart. Any other suggestions? Thanks

  4. #4
    Forum Contributor
    Join Date
    07-05-2006
    Location
    Canada
    MS-Off Ver
    2003, 2007
    Posts
    581

    Re: don't chart na/zero value in area chart

    What exactly is management expecting to see for a date such as the monday on the chart?

    Off the top of my head, I'd say you could do one of the following two things:

    1. Remove the data point.

    2. Put in a formula such that the intervening "no data" point represents the average of the points adjacent to it. The intent is so there is a straight-line from the previous point with data to the next point with data.

    For example, for the data you provided, cell B9 could have the formula =AVERAGE(B8,B10). If it's possible to have two or more consecutive "no data" points, the formula would need to be slightly different.

    S

+ 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