Forum Discussion
PaulPeterson1
6 years agoQrew Assistant Captain
The first part is pretty straightforward. The traditional work days can be calculated as follows:
ToDays(ToWeekdayP(endDate) - ToWeekdayN(startDate)) - Int(ToDays(ToWeekdayP(endDate) - ToWeekdayN(startDate)) / 7) * 2 + 1
Since each company observes different holidays, excluding the holidays would be a simple matter of setting up variables for the holidays and subtracting the total number of holidays that fall between the start and end dates.
------------------------------
Paul Peterson
------------------------------
ToDays(ToWeekdayP(endDate) - ToWeekdayN(startDate)) - Int(ToDays(ToWeekdayP(endDate) - ToWeekdayN(startDate)) / 7) * 2 + 1
Since each company observes different holidays, excluding the holidays would be a simple matter of setting up variables for the holidays and subtracting the total number of holidays that fall between the start and end dates.
------------------------------
Paul Peterson
------------------------------
MarkShnier__You
Qrew Legend
6 years agoRe:
excluding the holidays would be a simple matter of ....
Actually, this is actually not an easy problem to solve using formuals. Al other solutions I have seen and implemented myself are not elegant and involve tons of code and formulas.
i
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
excluding the holidays would be a simple matter of ....
Actually, this is actually not an easy problem to solve using formuals. Al other solutions I have seen and implemented myself are not elegant and involve tons of code and formulas.
i
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------