Date Formulas for Specific Deliverables
I am trying to create a formula that will look at a product line column and then return a date based on the Production Completion date plus 2 days if it is product A and plus 3 days if it is product B. However I also need it to account for WORKDAYS as well.
Best Answer
-
After seeing how many different products you have, it may be easier to add a "Number of Days" Column. Then simply use the workday formula to use the "Days" to add to your "Date". You can filter each individual product when adding the days to make it easier, then apply this formula.
Here's another example I created for you:
=WORKDAY($Date@row, Days@row)
Answers
-
Hello @davidvcolorado
Based on your description I tried to replicate this in my own Smartsheet.
The formula I used is:
=IF(CONTAINS("Product A", Product@row), WORKDAY($Date@row, 2), IF(CONTAINS("Product B", Product@row), WORKDAY($Date@row, 3)))
I have provided a screen shot for your reference.
To replicate this make sure to edit any Column Properties that contain a Date, and set the Column Type as a Date.
Let me know if this helps.
-
Thank you Chris, that seems to be working perfect. I sure appreciate the help and the quick response. I did want to make this a Column Formula but I am getting an syntax error. Any thoughts on how to correct that?
Here is my final formula. It works great other than the cell limitations.
-
After seeing how many different products you have, it may be easier to add a "Number of Days" Column. Then simply use the workday formula to use the "Days" to add to your "Date". You can filter each individual product when adding the days to make it easier, then apply this formula.
Here's another example I created for you:
=WORKDAY($Date@row, Days@row)
-
Thank you so much Chris.
-
Absolutely!
Happy to help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!