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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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