Issue with Nested IF Formula
I am having trouble getting my nested if formula to work. I have the following formula:
=IF([DCO Status]@row = "Implemented", "Blue", IF(AND([Days Open]@row > 46, [Days Open]@row < 100), "Yellow", IF([Days Open]@row >= 100, "Red", IF([Days Open]@row <= 45, "Green", ""))))
It is working for all the cells except the blank ones are showing “Green” instead of a blank. Can somebody please help me?
Comments
-
Hey Heather!
I added an AND statement to specify that the [Days Open] cell should be below 45 and not blank to show green. This eliminates Smartsheet counting those blank cells in your criteria.
See if this works like you're expecting:
=IF([DCO Status]@row = "Implemented", "Blue", IF(AND([Days Open]@row >= 46, [Days Open]@row < 100), "Yellow", IF([Days Open]@row >= 100, "Red", IF(AND([Days Open]@row <= 45, [Days Open]@row <> ""), "Green", ""))))
Hope this helps!!
-
Thank you. I stared at the formula forever before I found my mistake!
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!