ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Don't plot zeros in chart (https://www.excelbanter.com/excel-programming/306780-dont-plot-zeros-chart.html)

tod

Don't plot zeros in chart
 
The worksheet has a table of data and then a chart of
that data. Some of the rows in the data are zero. I don't
want the chart to plot those zeros. I know I can use #N/A
to accomplish this, but it looks ugly to the customer to
see #N/A in the data. Is there another way to easily NOT
chart the zeros. OR, is there a way to have the #N/A
display as a zero?

tod

Sean Howard

Don't plot zeros in chart
 
Dear Tod,

I would do one of the following (depending on the nature of the data),
either :-

A) Clear all the cells containing the #N/A. The chart will be the same,
and the user happy

B) Try conditional formatting on the source data. Use the formulae
=ISERROR(..) and format the Font colour to be white (or whatever
background colour your cells are in)

Option B) seems better as you will not have to change any actual cells,
but only their format


Sean

"Just press the off switch, and go to sleep!"

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com