P
Paul W Smith
Can anyone give a formula which will calculate the number of days between
two dates, not counting Sundays.
Paul Smith
two dates, not counting Sundays.
Paul Smith
Just another way:
=1+B1-A1-SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)))=1))
where B1 = end date and A1 = start date. To include
holidays (listed in C1:C10)
=1+B1-A1-SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)))=1))
-COUNT(C1:C10)