alanf Posted March 1, 2008 Posted March 1, 2008 I am trying to calculate the number of specific work days for a given month based on scheduled days off in a week for employees. Input: normal days off (tuesdays and wednesdays) Month: February Year: 2008 Result: Number of work days in month for employee Any help appreciated...
comment Posted March 1, 2008 Posted March 1, 2008 Either one of these should get you started: http://www.fmforums.com/forum/showpost.php?post/156042/ http://www.briandunning.com/cf/452
alanf Posted March 4, 2008 Author Posted March 4, 2008 Thanks for the pointers to solve my problem! I ended up using the WeekDaysInRange ( startDate ; endDate ; weekDays ) function as... ValueCount(WeekDaysInRange ( startDate ; endDate ; weekDays )) to return the number of days. Thanks again! Alan
Recommended Posts
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