Flag should turn red whenever over due day is over 30 days and status is not completed
Hi everyone,
I have a 'risk' column with flag, it is supposed to turn red whenever status does not indicate 'completed' and 'due day' is already beyond 30days, except if the status was cancelled.
I used the formula below but all the flags turned red automatically, I do not know what I am doing wrong, please help:
What is the best way to use current user guide that everyone responsible for task will only see their task and not concern with others?
=IF(AND([Days to due Date]@row < -30, Status@row <> "Completed"), 1, 0)
Best Answers
-
Hey Abiola,
You're so close! You don't need a "-30", you need a positive 30.
Also, if you're wanting to add "Cancelled" in there as a status, here's the formula:
=IF(Status@row = "Cancelled", 0, IF(AND([Days to due Date]@row > 30, Status@row <> "Completed"), 1, 0))
You had stated "Except if the status is cancelled" in bold, so I figured that was important.
Here's what it should look like:
Please let me know if this formula works for you!
If this answer answers your question, please press "Yes" above - it helps the community (and those random Googlers out there 👀) find solutions like yours faster.
Love,
Brett Wyrick | Connect with me on LinkedIn.
------------------------------------------------------------------------------
2023 update: I'm no longer working on Smartsheet stuff. I started working at Microsoft in 2022, plus I have 1-year-old twins at home and frankly, I don't have enough time to do Smartsheet anymore. It's been real, Smartsheeters!
-
Hi Brett,
It worked like magic!!
Many thanks!
Abiola
Answers
-
Hey Abiola,
You're so close! You don't need a "-30", you need a positive 30.
Also, if you're wanting to add "Cancelled" in there as a status, here's the formula:
=IF(Status@row = "Cancelled", 0, IF(AND([Days to due Date]@row > 30, Status@row <> "Completed"), 1, 0))
You had stated "Except if the status is cancelled" in bold, so I figured that was important.
Here's what it should look like:
Please let me know if this formula works for you!
If this answer answers your question, please press "Yes" above - it helps the community (and those random Googlers out there 👀) find solutions like yours faster.
Love,
Brett Wyrick | Connect with me on LinkedIn.
------------------------------------------------------------------------------
2023 update: I'm no longer working on Smartsheet stuff. I started working at Microsoft in 2022, plus I have 1-year-old twins at home and frankly, I don't have enough time to do Smartsheet anymore. It's been real, Smartsheeters!
-
Hi Brett,
It worked like magic!!
Many thanks!
Abiola
-
@Abiola 👍👍 Glad to help!
If this answer answers your question, please press "Yes" above - it helps the community (and those random Googlers out there 👀) find solutions like yours faster.
Love,
Brett Wyrick | Connect with me on LinkedIn.
------------------------------------------------------------------------------
2023 update: I'm no longer working on Smartsheet stuff. I started working at Microsoft in 2022, plus I have 1-year-old twins at home and frankly, I don't have enough time to do Smartsheet anymore. It's been real, Smartsheeters!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.2K Get Help
- 361 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!