You can count weekdays between 2 dates with non-array
=INT((WEEKDAY(StartDate-day)+EndDate-StartDate)/7)
where day is 1 to 7 Sun to Sat, so to count the total number of Mondays
to Fridays that becomes:
=SUM(INT((WEEKDAY(StartDate-{2,3,4,5,6})+EndDate-StartDate)/7))
or an alternative....
=SUM(INT((8-WEEKDAY(EndDate-{2,3,4,5,6}+1)+EndDate-StartDate)/7))
--
barry houdini
------------------------------------------------------------------------
barry houdini's Profile:
http://www.thecodecage.com/forumz/member.php?userid=72
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=127561