Does networkdays have a six day week?

G

Guest

Networkdays works fine to capture a five day week. Our Academy is on a Monday
thru Saturday schedule. I need a way to calculate the number of workdays in a
six day week that will exclude all Sundays. I also need to be able to use the
exclude portion of the function to exclude holidays.
 
B

Bob Phillips

=SUMPRODUCT(INT((end_date-WEEKDAY(start_date+1-{2;3;4;5;6;7})-start_date+8)/7))-
SUMPRODUCT(ISNUMBER(MATCH(WEEKDAY(holidays),{2;3;4;5;6;7},0))*(holidays>=start_date)*(holidays<=end_date))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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