Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tracy Parish
 
Posts: n/a
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove
 
Posts: n/a
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you calculate number of workdays from dates entered? tfleck Excel Worksheet Functions 1 March 25th 05 09:17 PM
How do you calculate number of workdays from dates entered? [email protected] Excel Worksheet Functions 0 March 25th 05 07:55 PM
Include Saturday in the WORKDAY function kippi3000 Excel Worksheet Functions 9 December 31st 04 08:21 AM
Calculate the number of workdays between 2 dates Tegid77 Excel Worksheet Functions 2 November 4th 04 11:09 PM
Calculate the number of workdays between 2 dates Tegid77 Excel Worksheet Functions 1 November 4th 04 07:27 PM


All times are GMT +1. The time now is 09:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"