Excluding Weekends

D

Dave

I have a query that calculates the total days elapsed from
a beginning date to an end date using the DateDiff
function. This counts weekends, but I need to exclude the
weekend days from the calculation. Is there a function in
Access similar to the NETWORKDAYS in Excel which
automatically excludes Saturdays and Sundays or another
way that I can exclude the weekend days from the
calculation?
 
M

Malcolm

May be oversimple, but if you are just wanting to remove
all weekends couldn't you do DATEDIFF then multiply by 5/7?

May not be a precise result though.
 
M

Michel Walsh

From March 15 to March 26, there are 10 week days, 12 real days, your
formula gives 8.57

From 19 to 22, 4 real days, 2 week days, your formula returns 2.857


Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Networking days, weekends, holidays and delivery days cancelled 5
Exclude Weekends 2
exclude weekends 2
Net Work Days in Access? 1
DateDiff 3
Number of days 9
Date + X days excluding holidays 1
Weekday Only Calc 1

Top