split date ranges into weeks

jongooligan

Board Regular
Joined
Jul 23, 2007
Messages
90
I've got a sheet where users can input a start date into cells B3:B17 and an end date into cells C3:C17. All start dates are Mondays; all end dates are Sundays; none of the periods overlap.

I need a continuous list of start dates for each week in each of the periods in cells B20:B? (dependent on number of weeks in each period). Also need corresponding week end dates in cells C20:C?

So if B3 = 03/03/2008, C3 = 16/03/2008 and
B4 = 24/03/2008, C4 = 30/03/2008 then

B20 = 03/03/2008, C20 = 09/03/2008
B21 = 10/03/2008, C21 = 16/03/2008
B22 = 24/03/2008, C22 = 30/03/2008

Hope this is clear - sorry not allowed any downloads at work so can't display graphically.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,215,324
Messages
6,124,250
Members
449,149
Latest member
mwdbActuary

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