Using "If" with dates
Hi all,
I'm working on a sheet where I'd like to reference a start date for a task and then, based on the current date, auto-populate another column with a status update (not started, in progress, overdue, etc.).
I think I want an "IF" statement-something like "=IF([reference column])>today, "Not Started") but I"m 100% confident that I'm missing some bits there.
Here's a screenshot of some of my data (ignore the "health" column). I want "Start Date" to be compared to today's date and generate a status in the "Test Status" column (not started, in progress, overdue).
Thanks much for all of your help and suggestions!
Answers
-
You can do both in Workflows, Create 1 workflow record a date, and another Workflow change type,
Let me know if you need more details,
Thanks,
-
You are going to want to start with something like this:
=IF([Start Date]@row > TODAY(), "Not Started", IF([End Date]@row > TODAY(), "In Progress", "Overdue"))
-
Thanks Paul-would it look like this:
=IF([Start Date]@row > TODAY(), "Not Started", IF([End Date]@row > TODAY(), "In Progress", IF([End Date]@row >TODAY (), "Overdue")))
With thanks!
-
You should be able to use the formula I provided above. If you did want to specify criteria for "Overdue", then you are going to want to change that argument from greater than to less than.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!