Strange - this is the second time this question has come up recently. I don't see it for years, then twice in a few days!
Try the following:
Three query calculations are required:
Working Days from 1900 to Start Date:
(floor(_days_between([Start Date],1899-12-31)/7) * 5) + (mod(cast(_days_between([Start Date],1899-12-31), integer),7))
Working Days from 1900 to End Date:
(floor(_days_between([End Date],1899-12-31)/7) * 5) + (mod(cast(_days_between([End Date],1899-12-31), integer),7))
Working Days from Start Date to End Date Inclusive:
if ( mod (cast(_days_between([End Date],1899-12-31),integer) , 7 ) = 6) then ([Working Days from 1900 to End Date] - [Working Days from 1900 to Start Date])
else ( [Working Days from 1900 to End Date] - [Working Days from 1900 to Start Date] + 1 )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.