March 1, 200817 yr 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...
March 1, 200817 yr Either one of these should get you started: http://www.fmforums.com/forum/showpost.php?post/156042/ http://www.briandunning.com/cf/452
March 4, 200817 yr Author 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
Create an account or sign in to comment