Does anyone know if text can be formatted in Excel so that it isn't assigned
a value, zero or otherwise? Or does anyone have a solution to make the
Excel chart ignore the text cell (ie not plot a zero value)?
Here is an example data set
X Y
1/1/01 3
1/2/02 5
1/4/05 NS
1/28/08 3
Thanks!
= if IsNumber(Y2,Y2,"")
and use this column in your cahrt
=IF(ISNUMBER(Y2),Y2,NA())
Also note that I used NA(). Excel ignores the NA(), or #N/A error, when
charting, while it plots "" as a zero. NA() isn't as good as a blank,
because a line chart will interpolate over the gap, while you can tell Excel
to interpolate, skip the point, or plot zero if you have a true blank.
Unfortunately, Excel has no way to return a blank from a formula. Best we
can do is some VBA solution to kill the N/As, as Tushar Mehta does in his
Chart Gap for N/A addin, at http://tushar-mehta.com.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______
In article <080101c2d83b$fb08c040$a501...@phx.gbl>, Robin Clay said...