Hey DL,
I think I can account for the extra Saturday using this formula.
If the weekday of the end date < weekday of the start date then it crossed two Saturdays
and we have to subtract an extra day. Formula of:
-IF(WEEKDAY(B2)<WEEKDAY(A2),1,0)
My entire formula is now:
=B2-A2-INT((B2-A2)/7)-COUNTIFS(Holidays,">"&A2,Holidays,"<"&B2)-IF(WEEKDAY(B2)<WEEKDAY(A2),1,0)
Can you patch it up and put your SUMPRODUCT into it and give it back to Kumara.
I need to study SumProducts awhile and whip myself for being wrong.
Thanks again for working this through with me. I really do appreciate it.
Bookmarks