How to ignore blank cells in health formula
I have a working formula for task health based on % Complete and Target Completion Date (see below). I'd like this formula to ignore any rows with blank Target Completion Date and display nothing in the Health column if there is no Target Completion Date. Right now it's defaulting to Red. I know I should add ISBLANK, but I cannot get it to work properly. Any help would be greatly appreciated.
=IF([% Complete]@row = 1, "Gray", IF(AND([% Complete]@row < 1, [Target Completion Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 0.5, [Days Due]@row < 5), "Yellow", "Green")))
Best Answer
-
Try:
=IF(ISBLANK([Target Completion Date]@row), "", IF([% Complete]@row = 1, "Gray", IF(AND([% Complete]@row < 1, [Target Completion Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 0.5, [Days Due]@row < 5), "Yellow", "Green"
Answers
-
Try:
=IF(ISBLANK([Target Completion Date]@row), "", IF([% Complete]@row = 1, "Gray", IF(AND([% Complete]@row < 1, [Target Completion Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 0.5, [Days Due]@row < 5), "Yellow", "Green"
-
Brilliant, thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!