Count the number of Occurances of Fri, Sat & Sun

Mattdaddy1

New Member
Joined
Mar 8, 2019
Messages
5
Hi All,

I have a start date in C1 and an end date in D1. I need a formula in E1 that tells me the total number of times Fri, Sat & Sun would be in that date span. Keep in mind the dates are user input so they might not always be full 7 day weeks that are entered so I can't just count the number of weeks and multiple by 3. It has to count the actual number of Fridays, Saturdays & Sundays in the date span and return a sum. (i.e. 2 Fridays, 2 Saturdays and 1 Sunday would return "5")

I'm sure this is super simple for someone, that someone is not me.

Thanks in advance.

Matt
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Here is another option. The string "1111000" represents Monday - Fri., the 1 is used for days not to count and the 0 for days to count.
Excel Workbook
CD
14/5/20195/8/2019
2
315
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top