A minor modification to your current formula can do that. Instead of using your current formula you should use the following
=IF(AND(A2>C2,B2>D2),"Yes",IF(AND(TODAY()>C2,NOW()>D2),"Yes","No")) Hope that helps Ragards, Anand Kumar On May 27, 6:40 pm, Chandra Shekar <chandrashekarb....@gmail.com> wrote: > Hi, > > I need to check whether date and time is greater than current date and time. > Please find attached file. If date and time both are blank then it should > check with present time and date. > > Thanks, > > Chandra Shekar B > > TimeIssue.xls > 19KViewDownload -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel