You need to sign in to do that
Don't have an account?

Calculate business days in a formula field
Hi
I have created a workflow where if a tick box equals true a date field is populated with a date 18 days from today. What I am trying to achieve is that the 18 days to only reflect business days and not include Sat and Sun.
any suggestions?
I have created a workflow where if a tick box equals true a date field is populated with a date 18 days from today. What I am trying to achieve is that the 18 days to only reflect business days and not include Sat and Sun.
any suggestions?
And this takes you step by step: http://salesforce-shruthi.blogspot.com/2011/09/exclude-saturdays-and-sundays-while.html
I tested the below formula out and it works well. StartDate__c in your case would be TODAY(), and you could replace NumberOfDays__c with 18 (and just leave all of the other math in place if you don't fell like converting). Although, it might behove you to put the 18 value into a custom setting and then you can insert that field into the formula, and if your requirements ever change you won't need to touch the workflow.
Also, important to note that this won't take into account holidays.
Good luck.
All Answers
And this takes you step by step: http://salesforce-shruthi.blogspot.com/2011/09/exclude-saturdays-and-sundays-while.html
I tested the below formula out and it works well. StartDate__c in your case would be TODAY(), and you could replace NumberOfDays__c with 18 (and just leave all of the other math in place if you don't fell like converting). Although, it might behove you to put the 18 value into a custom setting and then you can insert that field into the formula, and if your requirements ever change you won't need to touch the workflow.
Also, important to note that this won't take into account holidays.
Good luck.
https://help.salesforce.com/HTViewSolution?id=000003920&language=en_US