Need some help with a health formula for task risk level analysis
Hello, I am currently working on a formula for the health column in my smartsheet that is based on the the task status and the end date of that particular task. This is what I have so far but what I need is for when the "end date" cell is blank I would like for the health of that task to be blue. The reason is we do not plan to fill in all the dates at one point as are tasks schedule is pretty up in the air but we would like to run analysis on the tasks that are scheduled.
=IF(Progress6 = "Completed", "Green", IF(AND(Progress6 <> "Completed", TODAY() > [Preliminary End Date]6), "Red", IF(AND(Progress6 = "Not Started"), "Blue", IF(AND(Progress6 = "In Progress"), "Yellow"))))
Right now it is:
Red-If past due and labeled as in progress or not started.
Red-If no date is in the end date column... THIS IS WHAT I WANT TO CHANGE.
Yellow - If the task is in progress and not past the due date.
Green - If the task is completed.
Blue - If the task is not started and is not past the due date... I would like to keep this as well.
Best Answer
-
Smartsheet registers blank cells as being in the past, hence right now any blank dates are turning red, because it falls into the same category as your second IF Statement.
To cancel this out, At the front of your formula I would add another statment; IF([Preliminary End Date]6="","Blue".
i.e if date is blank, then blue
This IF statement will take priority and a blank cell will drive the blue value, meaning it won't cause issues in the other IF statement.
I'm passionate about helping you leverage the truly awesome power of smartsheet!
Answers
-
Smartsheet registers blank cells as being in the past, hence right now any blank dates are turning red, because it falls into the same category as your second IF Statement.
To cancel this out, At the front of your formula I would add another statment; IF([Preliminary End Date]6="","Blue".
i.e if date is blank, then blue
This IF statement will take priority and a blank cell will drive the blue value, meaning it won't cause issues in the other IF statement.
I'm passionate about helping you leverage the truly awesome power of smartsheet!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!