Aladin, I think your (slick!) formula should read:Originally posted by Aladin:
=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)))=6))
would count Saturdays between A2 and B2 which house true dates with A2 <= B2.
rrdonutz said:Aladin, I think your (slick!) formula should read:Originally posted by Aladin:
=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)))=6))
would count Saturdays between A2 and B2 which house true dates with A2 <= B2.
=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)))=7))
for Saturdays...
--Tom