Change the weekends

  • Thread starter Thread starter Sadad
  • Start date Start date
S

Sadad

Dears,
I want to calculate the working-days of my subordinates and I usually I use
the function NETWORKDAYS but in this country the weekends are Saturday and
Friday?!
What should I do?
BR
 
Hi,

If you don't use the Holidays argument of Networkdays you can use

=SUMPRODUCT(1*(WEEKDAY(ROW(INDIRECT(A1&":"&B1)))<6 ))

Or to include the Holidays argument use this with holidays in C1:C8

=SUMPRODUCT(1*(WEEKDAY(ROW(INDIRECT(A1&":"&B1)))<6),--(ISNA(MATCH(ROW(INDIRECT(A1&":"&B1)),$C$1:$C$8,0))))

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
Back
Top