Rag Status for end date and % complete
Hi there,
Could somebody help me with this formula for a rag status please?
The one I'm using at the minute is not picking up red statuses.
=IFERROR(IF([Percentage Complete]@row = 1, "Blue", IF(AND([Percentage Complete]@row < 1, [Finish Date]@row > TODAY()), "Green", IF(AND([Finish Date]@row < TODAY(1), [Finish Date]@row < TODAY(3)), "Yellow", "Red"))), "")
Thanks!
Jez
Answers
-
@Jez Akali This issue is here: IF(AND([Finish Date]@row < TODAY(1), [Finish Date]@row < TODAY(3)), "Yellow")
Both of these AND conditions will always be true if the finished date is more than 3 days in the past. You would need to do something like AND([Finish Date]@row < TODAY(1), [Finish Date]@row > TODAY(4))
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
Thanks @Darren Mullen unfortunately I'm still getting the same issue
-
Hi @Jez Akali
Just a brief note - the numbers in your TODAY function should be negative if you're looking for days in the past. Try this:
=IFERROR(IF([Percentage Complete]@row = 1, "Blue", IF([Finish Date]@row > TODAY(), "Green", IF([Finish Date]@row > TODAY(-4), "Yellow", "Red"))), "")
The formula will only move to the Yellow statement if the % complete is less than 100%, and if the Finish Date is not in the future. This means we only need to check and see if the date is within the last 3 days (or greater than 4 days ago).
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
That's great, thank you so much @Genevieve P. !
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!