Counting # of days between 2 dates excluding Fri & Sat)
Range("A1") = startDate
Range("B1") = EndDate
Range("C1") =
(B1-WEEKDAY(B1,1)+WEEKDAY(A1,1)-A1)/7*5-MIN(5,WEEKDAY(A1,1))+MIN(5,WEEKDAY(B1,1))
If this post helps click Yes
-------------
Jacob Skaria
"Khaledity" wrote:
Hi,
I am doing a vacation tracking sheet for my subordinates, and I want
to count the number of days they have consumed by entering start date
and end date.
Any advice?
Thanks.
Khaledity
|