You need to sign in to do that
Don't have an account?
S b 25
need to exclude weekends using validation rule
Hi, I want to exclude validation rule to fire when users enter any weekend date for a date field.
Any suggestions would help.
Thanks in advance.
Any suggestions would help.
Thanks in advance.
All Answers
I have one small query, can you let me know what 1900 means in the validation rule ?
Thanks
I'm creating a rule on the task object to require the due date is a weekday and require that the date selected is atleast 5 days out. Trying to use your logic into what I already have and found no syntax errors. In testing I'm able to save the task just fine but am still able to select days on the weekend. Can you please tell me where there's an error and what edit needs to be made to this logic?
AND(
RecordType.Name = "Premier Success" , ActivityDate <= TODAY()+5,
OR(MOD( ActivityDate - DATE( 1900, 1, 7 ), 7 ) == 0), MOD( ActivityDate - DATE( 1900, 1, 7 ), 7 ) == 6
)
Thanks for your help