Create an Automated 14-On, 7-Off Work Schedule in Excel
Question details
Create a schedule that keeps weekday headings fixed while dates and a 14-on, 7-off work pattern update automatically.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants a calendar-style schedule for a repeating 14-day work period followed by seven days off.
- Observed behavior
- Weekday headings remain in place while calendar dates and work or off days follow the chosen start date.
Choose the first workday of the cycle and confirm that the 14-on, 7-off pattern repeats continuously. The example below uses Monday-through-Sunday headings and treats the start date as workday one.
Build a repeating work schedule with Excel formulas
Use a start date, a calendar grid, and conditional formatting to show work and off days automatically.
Enter the first workday in cell B1. In cells A4 through G4, type Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
In A5, enter =$B$1-WEEKDAY($B$1,2)+1. In B5, enter =A5+1 and drag the fill handle across to G5. In A6, enter =A5+7, then drag it across to G6 and down through row 10.
Select A5:G10 and use Home > Number Format to choose a date format. The first row begins on the Monday containing the start date.
Select A5:G10, then choose Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Enter =AND(A5>=$B$1,MOD(A5-$B$1,21)<14), choose a fill color, and save the rule.
With A5:G10 selected, create another formula-based conditional formatting rule using =AND(A5>=$B$1,MOD(A5-$B$1,21)>=14). Choose a different fill color and save the rule.

Build the same rotating schedule in WPS Spreadsheets
Use date formulas and conditional formatting in WPS Spreadsheets to create a calendar that repeats 14 workdays and seven days off.
- 1. Set up the sheet: Open WPS Spreadsheets, create a blank workbook, and enter the first workday in B1. Type Monday through Sunday in A4:G4.
- 2. Fill the calendar: Enter =$B$1-WEEKDAY($B$1,2)+1 in A5 and =A5+1 in B5. Drag B5 across to G5. Enter =A5+7 in A6, then fill across to G6 and down through row 10.
- 3. Format work and off days: Select A5:G10 and use Home > Conditional Formatting to add formula-based rules. Use =AND(A5>=$B$1,MOD(A5-$B$1,21)<14) for workdays and =AND(A5>=$B$1,MOD(A5-$B$1,21)>=14) for days off, assigning a different fill color to each.
- 4. Format and save: Select A5:G10 and choose a date format from the Home tab. Use File > Save As to save the schedule as an Excel XLSX file.

Frequently Asked Questions
How do I change the first workday?
Enter the new first workday in B1. The calendar dates and conditional formatting will update based on that date.
Why are some dates before my start date not colored?
The first calendar row begins on Monday, so it may include dates before B1. The formatting rules intentionally leave those dates uncolored.
How can I display more weeks?
Select the last row of calendar formulas and drag its fill handle downward. Extend the conditional formatting rules to the added rows through Home > Conditional Formatting > Manage Rules.
Will the schedule account for month and year changes?
Yes. Excel date formulas calculate across month and year boundaries, including leap years, as long as B1 contains a valid date.




