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
- Smartsheet Customer Resources
- 63.6K Get Help
- 405 Global Discussions
- 215 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives