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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Complex "IF" Statement [Excell 2003] 1

Status
Not open for further replies.

Maillme

Technical User
Mar 11, 2003
186
NL
Hi there,

I have the following statement:

Code:
=IF(L36="Closed","Item Closed",IF(E36<TODAY(),"Overdue","Not Due"))

What this does it evaluate if L36 has the value closed, and if so will change the current cell to read "Item Closed", if it is not closed it then evaluates to see if E36 has passed todays date (L36 being my due date) and if so, displays a message accordingly.

I want to change this cell to tell me how many days it is overdue by, so, instead of simply saying "overdue" I want it to say "2 Days Overdue"

many thanks for any help,
great forum!


Neil
 
How about:
Code:
=IF(L36="Closed","Item Closed",IF(E36<TODAY(),(TODAY()-E36)&" Days Overdue","Not Due"))


Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top