wwyngaard Posted April 25, 2002 Posted April 25, 2002 I have a situation where I need to calculate backwards from a given date a certain number of work days. Like from 11/1/02 find the date that is 50 work days before that date as a start date. I am sure there is an elegant way to do it but just can't come up with it. I will also have to build in a holiday calculation to account for holidays but I should be able to build a case statement for it. I have found several solutions to find the number of work days between to dates but nothing to go back a set number of work days. Thanks in advance. Wayne
djgogi Posted April 29, 2002 Posted April 29, 2002 Start with this one pastdate=Status(CurrentDate)-Int(workDays/5)*7-Mode(workDays,5) Dj
wwyngaard Posted April 29, 2002 Author Posted April 29, 2002 I had to change the syntax from Mode to Mod and then your calculation worked perfectly. I assumed thats what it needed to be. Thank you very much.
Recommended Posts
This topic is 8272 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now