Thread: IF Function
View Single Post
 
Old 11-10-2015, 06:15 AM
gebobs gebobs is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by Azleenda View Post
For example a date is entered on A09 cell, the next cell A10 will reflect either 'Open' or 'Closed' by using this formula =IF(AO9="","Open","Closed").
A10 is in another record and contains another date. The formula you are citing is in AR9.

Quote:
Now beside this, I also need to know if I can add another formula next to it. Cell A09 requires a date to be entered in order to know my document is Open or Closed, but by 7 days if there isn't any date entered i want my cell A10 to show 'Due' by number of days.
I believe this is what you are trying to do in AP9 (again, not A10). Your formula does not work if there is no Date Received i.e. still Open. If I understand correctly, this is what you want:

=IF(ISBLANK(AO9),TODAY()-AM9,MAX(AO9-AM9,0))

If there is a Receive Date, the formula gives the number of days late. If received on time, the formula returns zero. If there is no Receive Date, the formula gives the number of days currently late (i.e. if it is still not received tomorrow, it will increment by one).
Reply With Quote