Non working days

T

The Rook

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
 
M

Mike

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

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

Mike
 
M

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
 
B

Bob Phillips

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)
 
D

daddylonglegs

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))
 

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

Top