Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default Skip the Zeros in a chart

How can I have the chart skip Zero values?
I am using the formula below to leave the cell blank for values that are
zero, but it still shows up in the chart messing up the line.
Is there a chart setting for this or do I need to change the formula?
=IF(N454=0,"",N454*4+150000)
--
Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Skip the Zeros in a chart

In Excel 2003 and older, select the chart, Tools, Options, Chart, Plot empty
cells as: Not plotted (leave gaps), or maybe you might prefer Interpolated.

In Excel 2007 search "Not plotted" in help

Regards,
Peter T

"Doug" wrote in message
...
How can I have the chart skip Zero values?
I am using the formula below to leave the cell blank for values that are
zero, but it still shows up in the chart messing up the line.
Is there a chart setting for this or do I need to change the formula?
=IF(N454=0,"",N454*4+150000)
--
Thank you!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default Skip the Zeros in a chart

I have 2007. I followed the instructions, but it didn't work. If I clear the
empty formula values, the graph looks fine. I just tried having it return a
zero and it is still not working =IF(N454=0,"0",N454*4+150000)
--



"Peter T" wrote:

In Excel 2003 and older, select the chart, Tools, Options, Chart, Plot empty
cells as: Not plotted (leave gaps), or maybe you might prefer Interpolated.

In Excel 2007 search "Not plotted" in help

Regards,
Peter T

"Doug" wrote in message
...
How can I have the chart skip Zero values?
I am using the formula below to leave the cell blank for values that are
zero, but it still shows up in the chart messing up the line.
Is there a chart setting for this or do I need to change the formula?
=IF(N454=0,"",N454*4+150000)
--
Thank you!



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 461
Default Skip the Zeros in a chart

Not Plotted and Interpolated are only applied to actual blank cells, not
cells which have formulas that return "".

The best you can do is change "" in the formula to NA(). This looks like
#N/A in a cell, which looks ugly, but in a line or XY chart is not
plotted. Instead, the connecting line is interpolated across the space
where the point would be plotted.

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/



Peter T wrote:
In Excel 2003 and older, select the chart, Tools, Options, Chart, Plot empty
cells as: Not plotted (leave gaps), or maybe you might prefer Interpolated.

In Excel 2007 search "Not plotted" in help

Regards,
Peter T

"Doug" wrote in message
...
How can I have the chart skip Zero values?
I am using the formula below to leave the cell blank for values that are
zero, but it still shows up in the chart messing up the line.
Is there a chart setting for this or do I need to change the formula?
=IF(N454=0,"",N454*4+150000)
--
Thank you!



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Skip the Zeros in a chart

Thanks for posting that, I didn't read the question properly.

Regards,
Peter T

"Jon Peltier" wrote in message
...
Not Plotted and Interpolated are only applied to actual blank cells, not
cells which have formulas that return "".

The best you can do is change "" in the formula to NA(). This looks like
#N/A in a cell, which looks ugly, but in a line or XY chart is not
plotted. Instead, the connecting line is interpolated across the space
where the point would be plotted.

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/



Peter T wrote:
In Excel 2003 and older, select the chart, Tools, Options, Chart, Plot
empty cells as: Not plotted (leave gaps), or maybe you might prefer
Interpolated.

In Excel 2007 search "Not plotted" in help

Regards,
Peter T

"Doug" wrote in message
...
How can I have the chart skip Zero values?
I am using the formula below to leave the cell blank for values that are
zero, but it still shows up in the chart messing up the line.
Is there a chart setting for this or do I need to change the formula?
=IF(N454=0,"",N454*4+150000)
--
Thank you!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
skip & hit chart for lotto Maxx[_2_] Excel Programming 1 June 23rd 09 08:20 AM
how do you skip empty cells or zeros when calculating the average soccerdav2003 Excel Programming 1 June 12th 08 12:01 AM
do not show zeros in pivot chart (pie chart) klp Charts and Charting in Excel 2 September 5th 07 02:12 PM
Formula returns empty; chart plots zero; I want to skip bluegar Charts and Charting in Excel 6 March 28th 07 09:42 AM
Skip some columns when creating a chart MikeJ Charts and Charting in Excel 3 April 15th 05 12:15 AM


All times are GMT +1. The time now is 08:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"