At Risk Formula
Hello!
I am trying to put together a formula that flags a project 'at risk' when:
- Deadline is in 3 working days or les from today
- Status is not complete, on hold or canceled
This is what I have - but my challenge is getting trying to incorporate 'workdays' to the formula. I've tried several ways and it is not working.
=IF(OR(Status@row = "On hold", Status@row = "Canceled"), 0, IF(AND([Final Deadline]@row <= TODAY(3), Status@row <> "Complete"), 1, 0))
Thanks for your help!
Best Answer
-
Double check that the Final Deadline column is set as a date type column and that the data in the cells is dates as opposed to a text string that just looks like a date.
Answers
-
Try this:
=IF(AND(Status@row <> "Complete", Status@row <> "On Hold", Status@row <> "Canceled", NETWORKDAYS(TODAY(), [Final Deadline]@row) <= 3), 1)
-
Wow - that's a great logic, but I am getting #INVALID DATA TYPE... any thoughts?
-
Double check that the Final Deadline column is set as a date type column and that the data in the cells is dates as opposed to a text string that just looks like a date.
-
Thank you! It worked!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!