I have an Excel chart which plots a series of values,
one for each day. There is only something to plot
on certain days; nothing on others. For instance,
I might want to plot this: 30,35,38,(null),(null),55,52,...
There are formulas in my worksheet that compute these
values using IF statements, as in "=IF(condition,30,)"
so the cell appears blank if the condition evaluates to
false. But the chart sees this "blank" cell as a zero
value, so it plots the sequence 30,35,38,0,0,55,52,...
which distorts and clutters the chart. I want the
plot to appear as discontinuous line segments.
Does anyone know how to do this? Thanks in advance.
Metron Management Company wrote:
--
邢 唷��
> I have an Excel chart which plots a series of values,
> one for each day. There is only something to plot
> on certain days; nothing on others. For instance,
> I might want to plot this: 30,35,38,(null),(null),55,52,...
>
> There are formulas in my worksheet that compute these
> values using IF statements, as in "=IF(condition,30,)"
> so the cell appears blank if the condition evaluates to
> false. But the chart sees this "blank" cell as a zero
> value, so it plots the sequence 30,35,38,0,0,55,52,...
You are using the wrong sort of "blank".
1. A truly empty cell doesn't get plotted at all and gives line
segments.
2. A cell with =NA() in it will be interpolated across
3. A cell with an empty string in it gets plotted as "0".
> which distorts and clutters the chart. I want the
> plot to appear as discontinuous line segments.
> Does anyone know how to do this? Thanks in advance.
Try #1 above
Regards,
Martin Brown