Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On May 28, 1:17*pm, "HH" wrote:
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) |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks JW,
Worked great! "JW" wrote in message ... On May 28, 1:17 pm, "HH" wrote: 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) |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could use this formula instead I guess...
=IF(AND(B4<TODAY(),B4<""),SUM(25+H4),"") Rick "HH" wrote in message . .. 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Array Formula for Counting Blank & Non Blank Cells (Multiple Criteria) | Excel Discussion (Misc queries) | |||
Average Formula to display blank cell if named range is blank | Excel Worksheet Functions | |||
Start Cell B1 then find first blank cell, insert subtotal, next non blank, then next blank, sutotal cells in between......... | Excel Programming | |||
Copy to first Blank cell in Colum C Non blank cells still exist be | Excel Programming | |||
Macro code to test for blank row and insert blank row if false | Excel Programming |