Isblank difficulty
I'm trying to add an "isblank" to this long formula and keep getting a "syntax" error message. Can anyone help? I want to add - if the "End Date" row is blank then this cell should also be blank. Here's my formula without the Isblank:
=IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 1, [End Date]@row <= TODAY(7)), "Yellow", IF(AND([% Complete]@row = 1, [End Date]@row >= TODAY()), "Green", IF(AND([% Complete]@row = 1, [End Date]@row < TODAY()), "Gray", ""))))
Best Answer
-
Try this...
=IF(ISBLANK([End Date]@row),"", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 1, [End Date]@row <= TODAY(7)), "Yellow", IF(AND([% Complete]@row = 1, [End Date]@row >= TODAY()), "Green", IF(AND([% Complete]@row = 1, [End Date]@row < TODAY()), "Gray", "")))))
Answers
-
Try this...
=IF(ISBLANK([End Date]@row),"", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 1, [End Date]@row <= TODAY(7)), "Yellow", IF(AND([% Complete]@row = 1, [End Date]@row >= TODAY()), "Green", IF(AND([% Complete]@row = 1, [End Date]@row < TODAY()), "Gray", "")))))
-
Worked perfectly! Thanks Mike!!
Question to help my learning, if you know - I'm fairly certain I added that exact formula at the end and it didn't work. Does the Isblank clause have to go at beginning to work?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!