Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fadi0007
 
Posts: n/a
Default please i need an answer

How can I change a weekend day defult in the networkdays function in the
excel sheet ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default please i need an answer

Here is an alternative formula

=SUMPRODUCT(--(ISNUMBER(MATCH(WEEKDAY(ROW(INDIRECT(end_date&":"& start_date))
),{2;3;4;5;6},0))))-SUMPRODUCT(ISNUMBER(MATCH(WEEKDAY(holidays),{2;3;4 ;5;6},
0))*(holidays=start_date)*(holidays<=end_date))

where the array constants {2;3;4;5;6} refers to the days of the week that
you want to include, which is Mon-Fri in this example.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"fadi0007" wrote in message
...
How can I change a weekend day defult in the networkdays function in the
excel sheet ?



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
the answer to appear in more than one cell LHorse Excel Worksheet Functions 4 November 29th 05 01:23 AM
i cant get the exact answer e.g answer is 13.49% i got 13.00% zai Excel Discussion (Misc queries) 3 June 9th 05 01:00 PM
Excel Answer Wizard BROKEN Mark Diaz Excel Discussion (Misc queries) 1 March 11th 05 10:19 PM
Display answer only in another cell of one containing a formula Mally Excel Discussion (Misc queries) 5 January 21st 05 01:07 PM
coverting answer from Radian mode to degree mode Xmastrzman Excel Worksheet Functions 1 November 10th 04 04:45 PM


All times are GMT +1. The time now is 06:18 PM.

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

About Us

"It's about Microsoft Excel"