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
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 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!