Blank or Zero or None?

  • Thread starter Thread starter HH
  • Start date Start date
H

HH

My formula in E4 is: =IF(B4<TODAY(),SUM(25+H4),"")

Works great when I put a date in B4. But - if I accidently put a date in B4
and then delete it, the value stays in E4.

How do I get the value to disappear if I delete the date?

Hank
 
You could use this formula instead I guess...

=IF(AND(B4<TODAY(),B4<>""),SUM(25+H4),"")

Rick
 
My formula in E4 is: =IF(B4<TODAY(),SUM(25+H4),"")

Works great when I put a date in B4.  But - if I accidently put a date in B4
and then delete it, the value stays in E4.

How do I get the value to disappear if I delete the date?

Hank

=IF(AND(B4<TODAY(),NOT(ISBLANK(B4))),25+H4,"")
-or-
=IF(OR(B4>=TODAY(),ISBLANK(B4)),"",25+H4)
 
Thanks JW,
Worked great!

My formula in E4 is: =IF(B4<TODAY(),SUM(25+H4),"")

Works great when I put a date in B4. But - if I accidently put a date in
B4
and then delete it, the value stays in E4.

How do I get the value to disappear if I delete the date?

Hank

=IF(AND(B4<TODAY(),NOT(ISBLANK(B4))),25+H4,"")
-or-
=IF(OR(B4>=TODAY(),ISBLANK(B4)),"",25+H4)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top