Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Blank or Zero or None?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
HH - 28 May 2008 18:17 GMT
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
Rick Rothstein (MVP - VB) - 28 May 2008 18:22 GMT
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),"")
>
[quoted text clipped - 4 lines]
>
> Hank
JW - 28 May 2008 18:24 GMT
> My formula in E4 is: =IF(B4<TODAY(),SUM(25+H4),"")
>
[quoted text clipped - 4 lines]
>
> Hank

=IF(AND(B4<TODAY(),NOT(ISBLANK(B4))),25+H4,"")
-or-
=IF(OR(B4>=TODAY(),ISBLANK(B4)),"",25+H4)
HH - 28 May 2008 19:09 GMT
Thanks JW,
Worked great!

On May 28, 1:17 pm, "HH" <deerl...@bellsouth.net> wrote:
> My formula in E4 is: =IF(B4<TODAY(),SUM(25+H4),"")
>
[quoted text clipped - 5 lines]
>
> Hank

=IF(AND(B4<TODAY(),NOT(ISBLANK(B4))),25+H4,"")
-or-
=IF(OR(B4>=TODAY(),ISBLANK(B4)),"",25+H4)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.