ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Hiding zero values on a chart in Excel 2007 (https://www.excelbanter.com/charts-charting-excel/208593-hiding-zero-values-chart-excel-2007-a.html)

pete24919

Hiding zero values on a chart in Excel 2007
 
Hi all,

I am trying to chart a series of data points from a table which looks up
values dependant on the contents of a seperate cell with a drop down list.
The table / chart is designed to be used until the end of the year, so
obviously values after today show as blank, (there are formulas already in
the table which will allow the graph to populate over time).

Is there a way of not charting cells with a blank value in Excel 2007 to
prevent the graph displaying these data points as zero?

Thanks in advance



Andy Pope

Hiding zero values on a chart in Excel 2007
 
Hi,

You need to output #N/A , using the NA() formula, instead of zero or text.

so your formula would be constructed like

=IF( <test for value , <Value , NA() )

The use of NA will only suppress data markers it will not break the line.
Only truly empty cells will cause line breaks

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"pete24919" wrote in message
...
Hi all,

I am trying to chart a series of data points from a table which looks up
values dependant on the contents of a seperate cell with a drop down list.
The table / chart is designed to be used until the end of the year, so
obviously values after today show as blank, (there are formulas already in
the table which will allow the graph to populate over time).

Is there a way of not charting cells with a blank value in Excel 2007 to
prevent the graph displaying these data points as zero?

Thanks in advance




pete24919

Hiding zero values on a chart in Excel 2007
 
Thanks Andy - this has solved the problem

Pete

"Andy Pope" wrote:

Hi,

You need to output #N/A , using the NA() formula, instead of zero or text.

so your formula would be constructed like

=IF( <test for value , <Value , NA() )

The use of NA will only suppress data markers it will not break the line.
Only truly empty cells will cause line breaks

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"pete24919" wrote in message
...
Hi all,

I am trying to chart a series of data points from a table which looks up
values dependant on the contents of a seperate cell with a drop down list.
The table / chart is designed to be used until the end of the year, so
obviously values after today show as blank, (there are formulas already in
the table which will allow the graph to populate over time).

Is there a way of not charting cells with a blank value in Excel 2007 to
prevent the graph displaying these data points as zero?

Thanks in advance






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

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