littleitaly5588 Posted February 4, 2008 Posted February 4, 2008 Hoping someone has an easy solution to finding annual and biennial dates where the result omits weekends and possibly holidays. Any help is appreciated.
Pirsqed Posted February 8, 2008 Posted February 8, 2008 I think I understand what you mean. You are totaling the number of workdays, and don't want to include the weekends or holidays. comment is right, though, we need more information to know exactly how to work it in this particular case. I did this recently with a report layout I made. In it I have two date fields, a start and a stop. I use these date fields for calculating a find string so I get records between the two dates. It's easy enough to use WeekofYear(enddate) - WeekofYear(startdate) x2 to get the number of weekend days and subtract them from just the enddate - startdate + 1 to get the number of workdays. Of course, that breaks if you cross a year, but a quick case statement can fix that, too. Holidays were a harder task until I realized I was working in FileMaker, and I just made a new table to store holiday dates, then cycle through them to see if any fall between the start and end dates. You have to add the holidays manually, of course, but you only have to do it once. Let us know if this helps or, if not, what would help.
The Big Bear Posted February 10, 2008 Posted February 10, 2008 try the calculation engine section and search for the nextworkday topic by Bcooney and download the zip file she posted by Comment and see if this is want you want.
Recommended Posts
This topic is 6130 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