If(OR(AND statement
little help - been working on this too long
If the %complete is100%, ie. =1 then the ball should be gray no matter what
If the job is not 100% and finish date has past, then red,
If the job is not 100% and finish date is within 7 days, then yellow,
otherwise green
=IF(OR(AND([%Complete]@row = 1, "Gray"), OR(AND([Finish@row] < TODAY(), [%Complete@row] <>1), "Red", OR(AND([Finish@row] < TODAY() + 7, [%Complete@row] <>1),"Yellow", "Green"))))
Answers
-
Try this
=IF([%Complete]@row = 1, "Gray", IF(AND(Finish@row < TODAY(), [%Complete]@row <> 1), "Red", IF(AND(Finish@row < TODAY(7), [%Complete]@row <> 1), "Yellow", "Green")))
Hope it helps
Kind regards
Debbie
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!