Schedule Template Excel: Staff Shifts, Coverage and Overtime

8 min read ยท 2026-11-30

A good schedule template excel file for a team does three things: it shows who works which shift, it counts each person's hours and overtime on its own, and it proves every shift is covered. The fastest way to get there is a grid of people and days filled with short shift codes, plus a small code list that tells Excel how many paid hours each code is worth.

This guide starts with choosing the right layout for your team. Then it builds a shift schedule step by step, walks through one full week with a night shift and a day of leave, and ends with the check every manager should run before sending a rota to a director or a client.

The roadmap at a glance

Goal: Build a reusable staff schedule in Excel that counts hours, flags overtime and coverage gaps, and is ready to hand over. Duration: 1 week

  1. Choose the schedule type (Day 1, 30 minutes)

    Match the layout to the question your readers ask.

    • Write down who reads the schedule: your team, your director, HR or payroll, a client.
    • Note the period they care about: one week, a pay period, a month.
    • List the shifts you need to cover each day and how many people each shift needs.
    • Find your overtime threshold and your rest rules in your contracts or local labor rules.

    Milestone: A one line purpose, a list of shifts per day, and a written hours limit.

  2. Build the code list (Day 1, 1 hour)

    Turn every shift into one code with its paid hours.

    • On a second sheet named Codes, put code, start, end and paid hours in columns A to D.
    • Add a row for each shift, such as E for early, L for late and N for night.
    • Add rows for absences: AL for annual leave, SL for sick leave, OFF for a rest day.
    • Give each absence the paid hours your policy counts toward the weekly total, or 0.

    Milestone: Every possible entry in the rota exists in the code list.

  3. Build the rota grid (Day 2, 1 hour)

    Keep inputs simple so anyone can fill them in.

    • Put the week start date in B2 and the days in C4 to I4, each one the previous day plus 1.
    • Put names in column B from row 6, one row per person.
    • Add a dropdown to C6:I20 with Data, Data Validation, List, pointing to the codes in Codes!A2:A10.
    • Shade input cells lightly and leave formula cells white.

    Milestone: A colleague can fill in a full week using only the dropdowns.

  4. Add the counting formulas (Day 2, 1 hour)

    Let Excel add up hours, overtime and coverage.

    • Weekly hours in J6: =SUMPRODUCT(COUNTIF(C6:I6,Codes!$A$2:$A$10),Codes!$D$2:$D$10).
    • Overtime in K6: =MAX(0,J6-$L$2), with your hours limit typed in L2.
    • Coverage rows under the names, one per shift: =COUNTIF(C$6:C$20,"N") for nights, same idea for E and L.
    • A required row with the number of people each shift needs.

    Milestone: Totals match a manual count for one test week.

  5. Add the warning rules (Day 3, 1 hour)

    Make problems visible before anyone else finds them.

    • Turn K6 red when overtime is above 0.
    • Turn a coverage cell red when it is below the required number.
    • Flag a night shift followed by an early shift the next day, with the rule =AND(C6="N",D6="E") applied to D6:I20.
    • Add a written legend with three colors at most.

    Milestone: A planted error (missing night, double shift, quick turnaround) shows up in color.

  6. Prepare the handover version (End of Week 1)

    Build the page a director reads in thirty seconds.

    • Add a summary block above the grid with total hours, overtime and uncovered shifts.
    • Set the print area, landscape, fit to one page wide, rows 1 to 4 as print titles.
    • Save the file as an Excel Template (.xltx) once the test week is cleared.
    • Send the first live rota and note each question people ask.

    Milestone: Next week's rota is built from the template in under 15 minutes.

Which employee schedule template in Excel fits your team

Before building anything, pick the layout. Most bad schedules are the right data in the wrong shape. Here are the four types that cover almost every team.

If your readers ask two of these questions, build the shift rota with codes first. A weekly view can be read from it, and a biweekly version is the same sheet with fourteen day columns and the formulas copied across.

If you download a ready made template instead, check its license before you put it inside a company document.

  • Weekly staff schedule. People in rows, seven days in columns, start and end times in each cell. Best for office teams with variable hours. It answers "who is in on Thursday, and until when".
  • Shift rota with codes. The same grid, but each cell holds a code (E, L, N, OFF) instead of times. Best for retail, care, support, warehouses and anything that runs on fixed shifts. It answers "is every shift covered", and it is the one built in this guide.
  • Biweekly schedule. Fourteen columns that match a two week pay period. Best when payroll or HR checks hours per pay period. It answers "how many hours and how much overtime this period".
  • Monthly on call rota. One row per person, one column per day, a single code for on call. Best for IT, maintenance and duty managers. It answers "who do I call on the 18th".

Shift schedule template in Excel: a worked week

Here is a small team so you can see the formulas do their job. Five people, Alex, Ben, Chloe, Dana and Eli, cover three shifts a day, seven days a week, one person per shift.

The hours limit in L2 is 40 in this example. Use your own figure. The code list holds:

  • E: 06:00 to 14:30, 30 minutes unpaid break, 8 paid hours.
  • L: 14:00 to 22:30, 30 minutes unpaid break, 8 paid hours.
  • N: 22:00 to 06:30, 30 minutes unpaid break, 8 paid hours.
  • AL: annual leave, hours set by your policy.
  • OFF: 0 hours.

The night shift case

Chloe works nights from Thursday to Sunday. Her Sunday night starts at 22:00 on Sunday and ends at 06:30 on Monday. Record it once, on the day it starts. Because the code carries its 8 paid hours, Excel does not have to subtract times across midnight, and Monday is never counted twice. Write this rule in the legend: "night shifts are recorded on the day they start".

Now suppose someone types E for Chloe on the next Monday. The rule =AND(C6="N",D6="E") cannot see across two weeks, so add the first day of next week to the check, or look at the last column by eye before you publish. Inside the week, the rule catches a night followed by an early at once.

The leave case

Dana takes annual leave on Wednesday, the day she was on the late shift. You change her cell to AL. Two things happen:

  • The L coverage cell for Wednesday drops to 0 and turns red.
  • Dana's weekly hours change by whatever AL is worth in your code list.

Fixing the overtime it creates

You move Ben to the Wednesday late shift. Ben already had five early shifts, so his weekly total goes from 40 to 48, and K6 shows 8 hours of overtime in red. The fix is visible on the sheet: give Ben's Friday early shift to Eli, who had spare hours. Ben goes back to 40, Eli goes up by 8, and no cell is red.

The total hours check

This is the check most templates skip. The team must work exactly the hours the shifts require, no more and no less.

  • Required hours: shifts per day times days times paid hours. Here, 3 times 7 times 8 equals 168.
  • Scheduled working hours: add every person's E, L and N hours, leaving out leave codes.

Reading the total

Put both numbers side by side in the summary block. For the scheduled side, use a second total that counts only working codes, for example =SUMPRODUCT(COUNTIF(C6:I20,{"E","L","N"}))*8 when every shift is worth 8 hours. If scheduled hours are below 168, a shift is empty. If they are above, two people are booked on the same shift. In both cases a coverage row is red somewhere, and the total tells you before you look.

Turning the rota into a document you can hand over

A rota that works on your screen often fails in a meeting. Your director or client does not want to read 35 cells. They want three answers: are we covered, how much overtime are we paying, and where are the risks.

Build the summary block in rows 1 to 3:

  • Required hours against scheduled hours, from the check above.
  • Total overtime hours: =SUM(K6:K20).
  • Uncovered shifts: =COUNTIF over the coverage rows of each cell below its required number, or one cell per shift row added together.
  • People above the limit: =COUNTIF(K6:K20,">0").

Before you send it

Under the summary block, add one line in plain words for anything that is red: "Wednesday late covered by Ben, overtime avoided by moving Friday early to Eli." That sentence answers the question before it gets asked.

Then lock the formula cells with Review, Protect Sheet, hide the Codes sheet if the reader does not need it, and send a PDF, not the working file.

When the schedule needs a plan behind it

A rota shows who works when, week by week. When your director asks how coverage will change over the next quarter, with hiring, a new site or longer opening hours, a wider spreadsheet is the wrong answer. That question needs a plan with phases and milestones: recruit, train, open the new shift, review. Keep the Excel rota for the weekly detail and present the change as a separate plan.

Common mistakes to avoid

  • Typing start and end times in every cell, which slows the rota down and breaks the totals at midnight, so use shift codes with paid hours in a code list.
  • Recording a night shift on both days it touches, so pick the start day and write the rule in the legend.
  • Forgetting what leave is worth, so decide once if each absence code counts toward the weekly total and put that number in the code list.
  • Checking overtime but not coverage, so add a coverage row per shift with its required number.
  • Skipping the total hours check, so compare required hours with scheduled hours every week.
  • Sending the working file, so print to PDF with a summary block and a three color legend.

Frequently asked questions

How do I make a shift schedule template in Excel?

Create a code list on a second sheet with each shift and its paid hours. On the main sheet, put people in rows and days in columns, and add a dropdown that only allows those codes. Count weekly hours with SUMPRODUCT and COUNTIF against the code list, then add coverage rows with COUNTIF for each shift.

How do I calculate overtime in an Excel schedule?

Type your weekly hours limit in one cell, then use =MAX(0,total-limit) next to each person's weekly total. Add a conditional formatting rule that turns the cell red when it is above 0. Take the limit from your contracts or the labor rules that apply to your team.

How do I handle night shifts that go past midnight?

Give the night shift a code with its paid hours and record it only on the day it starts. Excel then counts the hours once and never returns negative times. If you enter times instead of codes, use =MOD(end-start,1)*24 to count hours across midnight.

How do I save my rota as a reusable Excel template?

Clear the names and codes of the test week but keep the code list, formulas and color rules. Choose File, Save As and select Excel Template (.xltx). Each time you open it, Excel creates a new copy and the original stays clean.

Generate this roadmap with AI