How do you calculate a date based on text in another cell?
I need to Smartsheet to use the name of a company in another cell to determine which formula to use to calculate a date in another cell.
I am trying to calculate the conversion date of a temp, and based on which agency we are using the fee structure is different. Some may convert at 120 days and others at 180 days.
If Agency 1, then conversion date =start date cell +120 days
If Agency 2, then conversion date =start date cell +180 days
Best Answer
-
Something like the below should work for you
=IF(Agency@row="Agency 1", [Start Date]@row +120,IF(Agency@row="Agency 2", [Start Date]@row +180))
Answers
-
Something like the below should work for you
=IF(Agency@row="Agency 1", [Start Date]@row +120,IF(Agency@row="Agency 2", [Start Date]@row +180))
-
That worked. Thank you Leibel!
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!