Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to perform Current Date calculations

Status
Not open for further replies.

tuccokeith

Technical User
Dec 11, 2002
58
0
0
US
Can you use the current date to create a calculation that can trigger a warning indicator?

If the Current Date > the date in cell A1+15days cell b2 will equal 'Y'

 
Tuccokeith:
Try this formula in cell in b2. You may want to delete the "N" part if you would like the cell to be left blank for false.

=IF(TODAY()>A1+15,"Y","N")

Hope this helps!
Desiree
 
Hello,

The calculation works but when a field is blank it is returning a value of "Y"

How can I make sure that a blank field does not generate a "Y" value?
 
=IF(TODAY()>A1+15,"Y","")
Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
 
=if(a1="","",if(now()>a1+15, "Y",""))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top