In what, the WORKDAY function, NETWORKSDAYS?
If it is NETWORKSDAYS, use
=SUMPRODUCT(INT((E1-WEEKDAY(E1+1-{2;3;4;5;6})-C1+8)/7))-SUMPRODUCT(ISNUMBER(
MATCH(WEEKDAY(holidays),{2;3;4;5;6},0))*(holidays =C1)*(holidays<=E1))
where C1 and E1 hold the 2 dates, hiolidays is a named range of holiday
dates, and the array {2,3,4,5,6} should be an array of working days.
--
HTH
RP
(remove nothere from the email address if mailing direct)
"salim purayil" <salim
wrote in message
...
how can i change nonworking date from saturday&sunday to frinday&Saturday