![]() |
How do you calculate workdays if Saturday is a workday?
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. |
How do you calculate workdays if Saturday is a workday?
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. |
How do you calculate workdays if Saturday is a workday?
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) -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=530347 |
How do you calculate workdays if Saturday is a workday?
Dear daddylonglegs,
Two years later, your formula remains useful. Thanks a lot. P.B.Mohan "daddylonglegs" wrote: 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) -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=530347 |
All times are GMT +1. The time now is 12:47 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com