Calculating a date in the future
My use case:
I receive reports that need to have an SLA tracked. From the date I receive the report, I need to calculate the due date. If a report has a severity of Critical I need to calculate the report date +60 days, if High, the report date +90 days.
I have a severity column with CRITICAL, HIGH, MEDIUM & LOW, I want to calculate the SLA due date based on the date in the [Report Received] column, which is a date, and have the due date automatically calculate.
Any help would be greatly appreciated.
Best Answer
-
Hi @Edward Townsend ,
In your [Severity Due Date] column, try:
IF([Severity]@row = "Critical", [report received]+60, IF([Severity]@row="High", [report received]+90, IF([Date received]@row="Medium", [report received]@row+ XXX, [report received]@row+XXX)))
You'll need to adjust the XXXs for the days required if medium or low.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @Edward Townsend ,
In your [Severity Due Date] column, try:
IF([Severity]@row = "Critical", [report received]+60, IF([Severity]@row="High", [report received]+90, IF([Date received]@row="Medium", [report received]@row+ XXX, [report received]@row+XXX)))
You'll need to adjust the XXXs for the days required if medium or low.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks Mark! I needed to add @ row to the [report received], but otherwise worked like a charm!
-
Excellent. Happy to help. Thanks for using the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!