Another question about nested IF statements!
Dear Community,
I'd like to combine the two below IF statements, so that if the due date is in the past it will state "Overdue" in the Status column, I can't seem to get it to work :( any suggestions?
=IF([% Complete]98 = 1, "Complete", IF([% Complete]98 = 0, "Not Started", "In Progress"))
=IF([End Date]@row < TODAY(), "Overdue")
Best Answers
-
Try this
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Awesome Nic, thank you so much, it worked a charm!
-
Apologies Nic, but where there is no start date indicated, it's flagging up as Overdue, is there any way to amend the formula to say if start date = blank, then state "Not Started"
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Sure thing:
=IF(ISBLANK([Start Date]@row), "Not Started", IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress"))))
-
Perfect Nic, thank you so much for your help, really appreciated!
Answers
-
Try this
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Awesome Nic, thank you so much, it worked a charm!
-
Apologies Nic, but where there is no start date indicated, it's flagging up as Overdue, is there any way to amend the formula to say if start date = blank, then state "Not Started"
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Sure thing:
=IF(ISBLANK([Start Date]@row), "Not Started", IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress"))))
-
Perfect Nic, thank you so much for your help, really appreciated!
Help Article Resources
Categories
Check out the Formula Handbook template!