USing IF and ISBLANK with two columns

Please help. I posted this almost two months ago and still have gotten no help. I am currently using AT-RISK indicators for certain tasks that have not been closed.
The first formula works but does not turn off on the indicator once the task is closed.
=IF([Committed Closure Date]@row - TODAY() > 10, "Green", IF(AND([Committed Closure Date]@row - TODAY() >= 6, [Committed Closure Date]@row - TODAY() <= 10), "Yellow", IF([Committed Closure Date]@row - TODAY() <= 5, "Red")))
I am trying to create another formula that will not show the indicators once the Closure Date column contains a date and no longer blank. This is what I have so far which has not worked for me. Please help.
=IF(AND(ISBLANK([Closure Date]@row), [Committed Closure Date]@row - TODAY() > 10, "Green", IF(AND(AND(ISBLANK([Closure Date]@row), [Committed Closure Date]@row - TODAY() >= 6, [Committed Closure Date]@row - TODAY() <= 10), "Yellow", IF(AND(ISBLANK([Closure Date]@row), [Committed Closure Date]@row - TODAY() <= 5, "Red"))))))
Best Answers
-
What about something like this?
=IF(NOT(ISBLANK([Closure Date]@row)), " ", IF([Committed Closure Date]@row - TODAY() > 10, "Green", IF(AND([Committed Closure Date]@row - TODAY() >= 6, [Committed Closure Date]@row - TODAY() <= 10), "Yellow", IF([Committed Closure Date]@row - TODAY() <= 5, "Red"))))
-
Glad it worked out!
Answers
-
What about something like this?
=IF(NOT(ISBLANK([Closure Date]@row)), " ", IF([Committed Closure Date]@row - TODAY() > 10, "Green", IF(AND([Committed Closure Date]@row - TODAY() >= 6, [Committed Closure Date]@row - TODAY() <= 10), "Yellow", IF([Committed Closure Date]@row - TODAY() <= 5, "Red"))))
-
@Razetto Well that works! I've been suffering for weeks. Thank you so much!
-
Glad it worked out!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!