How do you calculate workdays if Saturday is a workday?

T

Tracy Parish

I need to calculate the amount of business days from a start date including
Saturday as a business day. Example: 5 business days starting Wednesday. In
WORKDAY it would be the next Wednesday, in Date plus 5 it would be the
following Monday. The correct answer is Tuesday.
 
H

Harlan Grove

Tracy Parish wrote...
I need to calculate the amount of business days from a start date including
Saturday as a business day. Example: 5 business days starting Wednesday. In
WORKDAY it would be the next Wednesday, in Date plus 5 it would be the
following Monday. The correct answer is Tuesday.

If you mean you have 5 workdays, Tuesday through Saturday, just
subtract 1 from beginning and ending dates and use NETWORKDAYS (in the
Analysis ToolPak).

If you mean you have 6 workdays each week, count the number of days
that aren't Sundays.

=SUMPRODUCT(--(WEEKDAY(ROW(INDEX($1:$65536,B,1):INDEX($1:$65536,E,1)))<>1))

where B represents the beginning date and E the ending date.
 
D

daddylonglegs

If you have a date in A1 and a number of workdays to add in B1...

=INT(B1/6)*7+A1+MOD(B1,6)+INT((WEEKDAY(INT(B1/6)*7+A1)-2+MOD(B1,6))/6
 
P

P.B.Mohan

Dear daddylonglegs,

Two years later, your formula remains useful. Thanks a lot.

P.B.Mohan
 

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