Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
HWI
 
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().
  #2   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

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/ne...rts/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().


  #3   Report Post  
HWI
 
Posts: n/a
Default

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/ne...rts/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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty Cell ( blank Cell ) rocky Excel Worksheet Functions 2 April 28th 05 11:17 PM
Look for change next blank cell in Range Nigel Bennett Excel Worksheet Functions 1 March 13th 05 09:45 PM
Go to first blank cell Curt D. Excel Worksheet Functions 4 February 28th 05 10:27 AM
set zero cell as blank cell Toor Excel Worksheet Functions 0 February 17th 05 10:17 AM
conditional formatting blank cell TREK5200 Excel Discussion (Misc queries) 1 December 6th 04 02:23 AM


All times are GMT +1. The time now is 04:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"