How do I return a date based on a dropdown value?
Hi all,
I am trying to work out a formula to get a cell to return a date based on a dropdown value.
I need the cell to tell me when a matter is due, based on when the matter was received and the priority rating.
the priority levels are (Service Type):
- Fast track - 7 days
- Basic - 14 days
- Standard - 30 days
- Complex - 60 days
- Complex Advertising - 90 days
I have a column with the date the matter was received, and I need another cell in the same row to show the due date based on the above priority rating..I can get this to work with the following formula, but cant figure out how to get it to work if a different priority level is chosen
=IF([Service Type]1 = "complex advertising - 90 days", [Date Received]1 + 90)
Any help would be greatly appreciated!
Comments
-
Hi Tammy,
Try something like this.
To add the other options you'd continue the same pattern with more IF functions.
=IF([Service Type]@row = "Complex Advertising - 90 days"; [Date Received]@row + 90; IF([Service Type]@row = "Fast Track - 7 days"; [Date Received]@row + 7))
The same version but with the below changes for your and others convenience.
=IF([Service Type]@row = "Complex Advertising - 90 days", [Date Received]@row + 90, IF([Service Type]@row = "Fast Track - 7 days", [Date Received]@row + 7))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Hope that helps!
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
You would then use Andree's format to include criteria for the remaining options.
The syntax for an IF statement is this:
=IF(this is true, do this, else)
.
To nest IF statements, you would basically drop the next one into the previous one's "else" section then close out all of the IF's at the end. Eventually it would look something like this...
=IF(this is true, do this, IF(that is true, do that, IF(something is true, do something)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!