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!!
-
Give this a try...
=IF([DCO Status]@row = "Implemented", "Blue", IF(ISNUMBER([Days Open]@row), IF([Days Open]@row >= 100, "Red", IF([Days Open]@row >= 46, "Yellow", "Green")), ""))
-
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
- 67.5K Get Help
- 468 Global Discussions
- 156 Industry Talk
- 511 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 520 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!