Logic Needed for Turning on the Gray Stoplight
I am trying to add logic in the following string that will turn on the "Gray" stop light ball if the % Complete cell is left blank.
=IF([% Complete]18 < 0.5, "Red", IF(AND([% Complete]18 >= 0.5, [% Complete]18 < 1), "Yellow", IF([% Complete]19= 1, "Green", IF([% Complete]19= blank, "Gray")))
I have tried "blank" and "null" and neither one works. Any of you super users out there figured this out yet? Thanks.
Comments
-
All of those should say [% Complete]18. I know that is not the issue. Thanks.
-
Try using isblank in the IF statement.
https://help.smartsheet.com/function/isblank
=IF([% Complete]18 < 0.5, "Red", IF(AND([% Complete]18 >= 0.5, [% Complete]18 < 1), "Yellow", IF([% Complete]19= 1, "Green", IF(ISBLANK([% Complete]18), "Gray")))
-
Thanks, Mike. That worked but only after I moved the Gray logic to the front of the logic string. You rock!
-
That is probably because one of your other flags are true and firing first.
-
Glad I could help you out.
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