LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 5
Default How do I keep zero values from plotting in charts?

Tools - Options - Chart - Plot empty cells as: Not plotted (leave gaps).
should solve it. Doesn't. using Excel XP 2002

"Jon Peltier" wrote:

Brian -

The cell isn't empty, it contains a formula. And nothing that a formula
returns is interpreted as an empty cell. You have two options:

1. Change the formula to

=IF(ISERROR(A1/B1),NA(),A1/B1)

This leaves an #N/A error in the cell (which conditional formatting will
hide) but a line chart or XY chart will interpolate past this point.

2. Construct dynamic ranges and use these in the chart series' source data.
This means the chart only has as much data as it can use. Example and links
can be found he

http://peltiertech.com/Excel/Charts/Dynamics.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______


"BrianBrand" wrote in message
...
I am plotting percentages from a table that will be filled with weekly
values, but not all of the weeks are completed yet, so future weeks are
plotting as zero.

Cells being graphed contain a A1/B1 formula to get a percentage, resulting
in a divide by zero error. I suppressed the error and tried to set the
cell
as 'blank' by using =IF(ISERROR(A1/B1),,A1/B1).

I tried setting the Tools Options Graphs - Plot Empty Cells As: Not
Plotted, leave gaps. Problem is, even though the value is 'blank' if
error =
true, it is no longer a 'blank' cell by Excel's interpretation, so the
'blank' cells are still plotted as zero on the chart.

Has anyone else overcome this problem?

Thank you very much! - Brian




 
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
How to ignore zero values when plotting a graph Phil Lavis Charts and Charting in Excel 4 May 14th 23 07:43 PM
Logarithmic curve formulas in charts and LOGEST fx values? Rich Excel Worksheet Functions 4 November 23rd 05 03:49 AM
Displaying null values in charts Iain ASLD Charts and Charting in Excel 2 October 26th 05 12:24 PM
Problem with plotting a chart when using arrays as Values and Xvalues [email protected] Charts and Charting in Excel 3 August 19th 05 09:05 PM
suppress zero values in line charts? Cruickshank Brothers Charts and Charting in Excel 4 June 12th 05 04:28 AM


All times are GMT +1. The time now is 12:02 AM.

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

About Us

"It's about Microsoft Excel"