PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Charting How do I retain blank cell status in an IF statement?

Reply

How do I retain blank cell status in an IF statement?

 
Thread Tools Rate Thread
Old 06-06-2005, 05:59 AM   #1
=?Utf-8?B?SFdJ?=
Guest
 
Posts: n/a
Default How do I retain blank cell status in an IF statement?


I have a monthly multiline graph to which I add data by day. The graph lines
terminate at the first empty cell (day) in the series, which is what I want.
However, If I use an IF statement to prime the cells dynamically the graph
lines drop to zero. I have not been able to achieve the desired result using
"", #NA or NA().
  Reply With Quote
Old 06-06-2005, 06:32 AM   #2
Jerry W. Lewis
Guest
 
Posts: n/a
Default Re: How do I retain blank cell status in an IF statement?

No worksheet cell that contains a formula can be truly blank. You have
already rejected the two closest approximations (#N/A and NA() are
equivalent).

The remaining options are

- delete the formulas in cells beyond actual data (you could use an
event driven macro to restore the formulas as data is added)

- Do something along the lines of
http://www.peltiertech.com/Excel/Charts/Dynamics.html
http://www.tushar-mehta.com/excel/n...arts/index.html

Jerry

HWI wrote:

> I have a monthly multiline graph to which I add data by day. The graph lines
> terminate at the first empty cell (day) in the series, which is what I want.
> However, If I use an IF statement to prime the cells dynamically the graph
> lines drop to zero. I have not been able to achieve the desired result using
> "", #NA or NA().


  Reply With Quote
Old 06-06-2005, 07:25 AM   #3
=?Utf-8?B?SFdJ?=
Guest
 
Posts: n/a
Default Re: How do I retain blank cell status in an IF statement?

Thanks Jerry - the second site listed appears to be on the track I'm wanting.
Will try it!

"Jerry W. Lewis" wrote:

> No worksheet cell that contains a formula can be truly blank. You have
> already rejected the two closest approximations (#N/A and NA() are
> equivalent).
>
> The remaining options are
>
> - delete the formulas in cells beyond actual data (you could use an
> event driven macro to restore the formulas as data is added)
>
> - Do something along the lines of
> http://www.peltiertech.com/Excel/Charts/Dynamics.html
> http://www.tushar-mehta.com/excel/n...arts/index.html
>
> Jerry
>
> HWI wrote:
>
> > I have a monthly multiline graph to which I add data by day. The graph lines
> > terminate at the first empty cell (day) in the series, which is what I want.
> > However, If I use an IF statement to prime the cells dynamically the graph
> > lines drop to zero. I have not been able to achieve the desired result using
> > "", #NA or NA().

>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off