RAG status based on dates overdue
Hi,
I'm attempting to get an output of either, "On Track", "Overdue" or "Critically Overdue" for baseline milestone dates in Smartsheet, with the Overdue being 5 days over & Critically overdue being 20 days over respectively.
I have drafted the initial IF statement, however i'm suck on how to add the additional "Critically Overdue" parameter and how to add the 5 & 20 days threshold.
=IF([Baseline Date]@row = [Actual Date]@row, "On Track", "Overdue")
Any suggestions would be appreciated!
Ben
Best Answer
-
Hi @BenM
Hope you are fine, please try the following formula and covert it to column format formula:
=IFERROR(IF(OR([Actual Date]@row = "", [Baseline Date]@row = ""), "", IF([Actual Date]@row = [Baseline Date]@row, "On Track", IF(AND([Baseline Date]@row - [Actual Date]@row >= 5, [Baseline Date]@row - [Actual Date]@row <= 20), "Overdue", IF([Baseline Date]@row - [Actual Date]@row > 20, "Critically Overdue")))), "")
The following screenshot shows the result:
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Answers
-
Hi @BenM
Hope you are fine, please try the following formula and covert it to column format formula:
=IFERROR(IF(OR([Actual Date]@row = "", [Baseline Date]@row = ""), "", IF([Actual Date]@row = [Baseline Date]@row, "On Track", IF(AND([Baseline Date]@row - [Actual Date]@row >= 5, [Baseline Date]@row - [Actual Date]@row <= 20), "Overdue", IF([Baseline Date]@row - [Actual Date]@row > 20, "Critically Overdue")))), "")
The following screenshot shows the result:
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Hi Bassam,
That has worked perfectly, thank you!😀
Kind regards,
Ben
-
@BenM
Excellent, i will be happy to help you any time.
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
Check out the Formula Handbook template!