Function Problems

Create an Automated 14-On, 7-Off Work Schedule in Excel

Chanuka GeekiyanageChanuka Geekiyanage Nov 18, 2026 871 views

Question details

Create a schedule that keeps weekday headings fixed while dates and a 14-on, 7-off work pattern update automatically.

Create an Automated 14-On, 7-Off Work Schedule in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Enter the start date and headings

Enter the first workday in cell B1. In cells A4 through G4, type Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.

2
Create the calendar dates

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.

3
Format the dates

Select A5:G10 and use Home > Number Format to choose a date format. The first row begins on the Monday containing the start date.

4
Highlight workdays

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.

5
Highlight days off

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 a repeating work schedule with Excel formulas
Dates before the cycle: Dates before the start date are not colored. Change B1 to move the calendar and restart the cycle on a different first workday.
Create a work schedule in WPS

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. 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. 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. 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. 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.
Automatically calculate dates from the first workdayUse different colors for workdays and days offOpen and save Microsoft Excel XLSX filesEdit the schedule in a familiar spreadsheet interface
microsoft office alternative - wps office

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.