ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   chart lines (https://www.excelbanter.com/charts-charting-excel/225672-chart-lines.html)

Susie

chart lines
 
how do I prevent a chart line from connecting to a 0%? The 0% value results
from data that has not been entered yet, but shows due to the % formula.

Bernard Liengme[_3_]

chart lines
 
In a Line or XY chart, replace the blank by =NA()
The chart engine will ignore this
It will display as #N/A
If you don't like the look of this (maybe for printing purposes) use
conditional formatting to make the font colour the same as the cell
background, then it 'disappears'
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Susie" wrote in message
...
how do I prevent a chart line from connecting to a 0%? The 0% value
results
from data that has not been entered yet, but shows due to the % formula.




Luke M

chart lines
 
Change your formula so that instead of displaying 0, it displays the #N/A
error (which charts ignore)
Example:
=IF(A2A3,A2-A3,NA())
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Susie" wrote:

how do I prevent a chart line from connecting to a 0%? The 0% value results
from data that has not been entered yet, but shows due to the % formula.



All times are GMT +1. The time now is 01:00 PM.

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