Calculate future date according to criteria met but only workdays
Hi! I'm using this formula:
=IF(ISDATE(Date@row), IF(Level@row = "1", (Date@row + 2), IF(Level@row = "2", (Date@row + 3), IF(Level@row = "3", (Date@row + 4)))))
With each level there'll be certain criteria:
Level 1 = 2 days
Level 2 = 3 days
Level 3 = 4 days
The formula is actually correct but it includes weekends. Therefore I would like to include the WORKDAY formula but couldn't find the right way to match them as I only want to calculate our working day.
Thank you in advance!
Answers
-
Instead of
(Date@row + 2)
you can use
WORKDAY(Date@row, 2)
This adds two working days to Date@row
I hope that helps.
-
Hi @KPH ! Tried adding them like this
=IF(ISDATE(Date@row), IF(Level@row = "1", (WORKDAY(Date@row + 2)), IF(Level@row = "2", (WORKDAY(Date@row + 3)), IF(Level@row = "3", (WORKDAY(Date@row + 4))))))
But it became Inaccurate Argument Set instead.
Example of my columns
-
Not
date@row plus 2
use
date@row comma 2
like this
WORKDAY(Date@row, 2)
-
Hi @Farhana
Were you able to make the change? Is the formula working for you now?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 349 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!