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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,214,566
Messages
6,120,266
Members
448,953
Latest member
Dutchie_1

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