Expired Date code
So i recently create a new Cell called " Expired Date" what I'm trying to do in this cell is to show when a date has been expired , based on the Promised Date, but i found that if i left mi code just like this, But
=IF([Promised Date]4 > TODAY(0), "Expired date", "-" i don't have a restriction.
And i try this code, but i cant figure out how make it run.
=IF([Promised Date]4 > TODAY(0), "Expired date", "-", IF(NOT(ISBLANK([Completion Date]4)), "Completed", "-"))
Does any one has any suggestions?
Hope everyone has a great day
Comments
-
Try this:
=IF([Promised Date]@row< TODAY(), "Expired Date", IF(NOT(ISBLANK([Completion Date]@row)), "Completed", "-"))
I think you want Less than today() to highlight dates that are in the past. Also, you need to make sure that you close all opened statements like NOT and ISBLANK before you move on in the IF statements. This revision closes those up for you. I also added @row instead of the row number so you can paste it wherever you want.
-
Without knowing your exact setup I cannot be sure, but I would suggest putting the Completed IF before the Expired IF. That way you won't show expired on tasks that are completed.
=IF(NOT(ISBLANK([Completion Date]@row)), "Completed", IF([Promised Date]@row< TODAY(), "Expired Date", "-"))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!