Creating date sequence in Excel 97

sgmacs

New Member
Joined
Dec 21, 2003
Messages
3
I've run out of ideas about how to create a date sequence for a work rota. It's a recurring weekly pattern of five dates and then two dates doubled, e.g.

Jul/01/04
Jul/02/04
Jul/03/04
Jul/04/04
Jul/05/04
Jul/06/04
Jul/06/04
Jul/07/04
Jul/07/04

This is followed by a gap, and then the pattern repeats ad infinitum. Currently I do this manually, and it's terribly tedious.

Any suggestions gratefully received.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Try to prevent wild guesses on the part of the would be helpers by specifying the rule how you create the sequence. Anything special about the start date? Do the week end dates play any special role, etc.?
 
Upvote 0
No, it's very simple. The first date is a Monday, the last two are Saturday and Sunday split into two shifts.
 
Upvote 0
sgmacs said:
No, it's very simple. The first date is a Monday, the last two are Saturday and Sunday split into two shifts.

1-July-04 is a Thursday...

The formula in A3 is:

=A2+IF(OR(WEEKDAY(LOOKUP(9.99999999999999E+307,$A$2:A2),2)={6,7}),0,1)+(A2=A1)
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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