Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RobertH
 
Posts: n/a
Default how to set a 6-day work week ?

When I use the WORKDAY function to calculate the next workday with a range of
cells are defined as public holiday. But I find that Saturday and Sunday are
default set as weekend.

How can I change this default (Saturday and Sunday as weekend) to 6-day week
(i.e. Mon - Sat).

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Robert,

Here is an array formula provided by Frank Kabel before Christmas that does
this. It uses named fields for the start_date, days and holiday list.

=start_date+IF(days=0,0,SIGN(days)*SMALL(IF((WEEKD AY(start_date+SIGN(days)*(
ROW(INDIRECT("1:"&ABS(days)*10))),2)<7)*ISNA(MATCH (start_date+SIGN(days)*(RO
W(INDIRECT("1:"&ABS(days)*10))),holidays,0)),ROW(I NDIRECT("1:"&ABS(days)*10)
)),ABS(days)))

Commit with Ctrl-Shift-Enter.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"RobertH" wrote in message
...
When I use the WORKDAY function to calculate the next workday with a range

of
cells are defined as public holiday. But I find that Saturday and Sunday

are
default set as weekend.

How can I change this default (Saturday and Sunday as weekend) to 6-day

week
(i.e. Mon - Sat).



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
4 Day Work Week in a formula EasleyK Excel Discussion (Misc queries) 1 January 29th 05 06:15 AM
how do I adjust working calendar (6 day work week) in excel that . Hatem Excel Worksheet Functions 1 January 25th 05 12:04 PM
Line or bar graphs for tracking stocks profit and loss. Mocity Charts and Charting in Excel 1 January 21st 05 01:21 AM
first week of year - according to european standard soren Excel Worksheet Functions 3 November 2nd 04 07:21 PM
How do I ensure dates inputted are during the work week? Jim Johnson Excel Worksheet Functions 3 October 29th 04 08:25 AM


All times are GMT +1. The time now is 04:10 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"