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

If you want to just advance by 1 day, that is Sun and Mon are non-working
days, just take 1 from each day (including any holiday list)

=networkdays(start_date-1,end_date-1)

If you want to have one less day off per week, then use

=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(start_date&":"&end_date)),2) ={1,2,3,4,5,
6}))
-SUMPRODUCT(--(COUNTIF(holidays,(ROW(INDIRECT(start_date&":"&end _date)))*(WE
EKDAY(ROW(INDIRECT(start_date&":"&end_date)),2)={1 ,2,3,4,5,6}))))

--

HTH

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


"Chatter_tk" wrote in message
...
I want to use Excel to calculate leave. As Saturday is a working day, it

is
not possible to use Networkdays and workdays function. Anyway to make
Saturday as a working day?