Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default WOrkday function - change working days

How do I define working days as Monday to Saturday for the Workday function ?
( instead of standard Monday to Friday
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default WOrkday function - change working days

=WORKDAY(start_date,days)-SUMPRODUCT(--(WEEKDAY(ROW(INDEX($1:$65536,start_da
te,1):INDEX($1:$65536,WORKDAY(start_date,days),1)) )=1))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ashutosh" wrote in message
...
How do I define working days as Monday to Saturday for the Workday

function ?
( instead of standard Monday to Friday



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default WOrkday function - change working days


I am not exactly sure what do I replace start_date and days with. If I
replace start date with the date I want to start with and number of days as
how many working days to add, it does not skip sundays.

"Bob Phillips" wrote:

=WORKDAY(start_date,days)-SUMPRODUCT(--(WEEKDAY(ROW(INDEX($1:$65536,start_da
te,1):INDEX($1:$65536,WORKDAY(start_date,days),1)) )=1))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ashutosh" wrote in message
...
How do I define working days as Monday to Saturday for the Workday

function ?
( instead of standard Monday to Friday




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
Working days and hours calculation - request assistance please! sbickley Excel Worksheet Functions 0 August 16th 06 06:37 PM
Getting XL to Calc Working Days Lost without using NETWORKDAYS() Function richarjb Excel Discussion (Misc queries) 7 May 22nd 06 08:35 PM
adding only working days to dates bazooka Excel Discussion (Misc queries) 2 May 4th 06 06:15 PM
Excel Workday Function with another function Monique Excel Discussion (Misc queries) 2 April 27th 06 01:11 PM
to use workday function in excel vba code sjayar Excel Discussion (Misc queries) 1 November 10th 05 12:48 PM


All times are GMT +1. The time now is 04:27 PM.

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"