IF and Isblank on date field

Hi,
Please I need your help. I have two date fields - Expected completion date and actual date completed. I'm trying to create a formula to say if actual date completed is greater than expected completion date, "Red", if actual date completed is blank, "Gray", else "Green"
My formula is: IF([Actual Date Completed]@row > [Expected completion]@row, "Red", IF([Actual Date Completed]@row < [Expected completion]@row, "Green", "Gray"))
Best Answer
-
=IF(ISBLANK([Actual Date Completed]@row), "Gray", IF([Actual Date Completed]@row > [Expected completion]@row, "Red", "Green"))
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
Answers
-
=IF(ISBLANK([Actual Date Completed]@row), "Gray", IF([Actual Date Completed]@row > [Expected completion]@row, "Red", "Green"))
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
-
Thank you @Mark.poole
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!