ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Excel 2007- prevent graph from plotting zeros (https://www.excelbanter.com/charts-charting-excel/169189-excel-2007-prevent-graph-plotting-zeros.html)

sportique

Excel 2007- prevent graph from plotting zeros
 
I have a spreadsheet which includes a simple "IF" statement - when true this
returns "" - which the spreadsheet displays as 0.0
I can supress this display by using custom format etc, but the associated
chart still plots it as zero.
What I really want to do is for the associated chart to plot nothing (ie a
gap in the line).
I am happy to change the chart setup or the formula to achieve this result.

David Biddulph[_2_]

Excel 2007- prevent graph from plotting zeros
 
Get your IF statement to return NA(), not ""
--
David Biddulph

"sportique" wrote in message
...
I have a spreadsheet which includes a simple "IF" statement - when true
this
returns "" - which the spreadsheet displays as 0.0
I can supress this display by using custom format etc, but the associated
chart still plots it as zero.
What I really want to do is for the associated chart to plot nothing (ie a
gap in the line).
I am happy to change the chart setup or the formula to achieve this
result.




sportique

Excel 2007- prevent graph from plotting zeros
 
David - great, just what I needed, thanks very much for your help

Regards

"David Biddulph" wrote:

Get your IF statement to return NA(), not ""
--
David Biddulph

"sportique" wrote in message
...
I have a spreadsheet which includes a simple "IF" statement - when true
this
returns "" - which the spreadsheet displays as 0.0
I can supress this display by using custom format etc, but the associated
chart still plots it as zero.
What I really want to do is for the associated chart to plot nothing (ie a
gap in the line).
I am happy to change the chart setup or the formula to achieve this
result.






All times are GMT +1. The time now is 06:44 PM.

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