Weeks of school missed

bmacias

Board Regular
Joined
Sep 11, 2002
Messages
217
Start date in a2=4/1/2015 Return date in b2=10/31/2015. School Ends 5/31/2015 and Begins 9/1/2015; Therefore, this student missed between 17 to 20 weeks of school. I think it’s a matter of finding out the length of weeks between the start date and return date; then subtracting any weeks in the a2 and b2 range that fall in June, July and August. I just don’t know how to set-up the formula.

Your assistance is appreciated.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Your formula should be like this.

(School ends - Start date) + (Return date - School begins)

This will give 120 days.

If you use the weeknum function on each of those argument, you have 23-14 + 44-36 so 17 missed school week.
 
Upvote 0
What happens when the student was only out the first week of December? This returns a negative number when it should return a 1 for that one week missed.

(School ends - Start date) + (Return date - School begins)

=((5/31/2015-12/1/2015)+(12/7/2015-9/1/2015))/7 gives you -0.001355861

Is there another alternative to the formula?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,616
Latest member
intern444

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