How to count days of week between two dates

Excel

2016

From time to time you need to count days of week between two dates or in some date range (see
How to count day of week in the range of dates).
Excel proposes different formulas to work with data. It is easy to create the formula you need
for this task: