Number of weekend days between 2 dates

Returns the number of Saturdays between the 2 dates
SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&"."&B1))7)=1))


Built-in Functions

SUMPRODUCT - The sum of the product of one or more arrays of values.
WEEKDAY - The day of the week for a given date.
ROW - The row number of a cell reference.
INDIRECT - The text string of the contents of a given cell reference.


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top