IF statement only half works
Can someone take a look at this statement and tell me where I went wrong? The Blue works (both), the Green works and the Yellow works. The Red, not so much. The things that should be Red stay Yellow. Any help would be appreciated! / Days Left till Due is a formula of =[Anticipated Completion Date]@row  TODAY()
=IF([Current Status]@row = "Completed", "Blue", IF([Request Type]@row = "Daily / Weekly Task", "Blue", IF([Days Left till Due]@row > 2, "Green", IF([Days Left till Due]@row <= 2, "Yellow", IF([Days Left till Due]@row < 0, "Red")))))
Answers

The issue you are having is your yellow formula will never be false to reach the red formula because it is looking for any number equal to or less than 2. If you look for Red first and then yellow, then anything 0 or less would result in Red.
=IF([Current Status]@row = "Completed", "Blue", IF([Request Type]@row = "Daily / Weekly Task", "Blue", IF([Days Left till Due]@row > 2, "Green", IF([Days Left till Due]@row <= 0, "Red", IF([Days Left till Due]@row <= 2, "Yellow")))))

Thank you!!! Totally worked!!

Your Welcome.
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 62.3K Get Help
 364 Global Discussions
 199 Industry Talk
 428 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!