Non working days

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a formula to calculate the number of non working days between 2
specific dates. For example:

01-01-07 to 31-01-07

No. of Saturdays = 4
No. of Sundays = 4

Cheers
 
Put your dates in A1 and B1 and try this formatted as general

=DATEDIF(A1,B1,"d")-NETWORKDAYS(A1,B1)

Mike
 
Sorry, I should have added that because you want 'between' 2 dates the
earlier date must be moved 1 day back. i.e. in this example 31/12/2006.

Mike
 
Also no need to use DateDif, just B1-A1

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
I think you'd need this formula

=B1-A1+1-NETWORKDAYS(A1,B1)

Although NETWORKDAYS is part of Analysis ToolPak add-in. If you want to
avoid using Analysis ToolPak functions

=SUM(INT((WEEKDAY(A1-{1,7})+B1-A1)/7))
 
Back
Top