IF ISBLANK, 3 options

Hi SmartSheet Community!
I am working on a formula to display closure status as "Late", "On time" and "Open". I want to show open if the "Actual Close Date" field is blank. If "Actual Close Date" is populated I need to compare against the "Expected Close Date" to determine if on time or late.
The following returns an error:
=IF(ISBLANK([Actual Close Date]@row, "Open", (IF((Status@row[Expected Close Date]@row > [Actual Close Date]@row, "Closed - On Time", "Closed - Late")
What updates do I need to make to ensure the closure status displays appropriately?
Best Answer
-
Hi @SMChou , you were on the right track!
Try this one...
=IF(ISBLANK([Actual Close Date]@row), "Open", IF([Expected Close Date]@row >= [Actual Close Date]@row, "Closed - On Time", "Closed - Late"))
This one assumes that if the Expected and Actual dates are equal then it closed on time.
Does that help?
-Ryan
Answers
-
Hi @SMChou , you were on the right track!
Try this one...
=IF(ISBLANK([Actual Close Date]@row), "Open", IF([Expected Close Date]@row >= [Actual Close Date]@row, "Closed - On Time", "Closed - Late"))
This one assumes that if the Expected and Actual dates are equal then it closed on time.
Does that help?
-Ryan
-
Thank you @Ryan Sides worked like a charm!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives