A school timetable template in Excel: when it is enough and when you move to software

The short answer: Excel is enough for a small school with few constraints, if you build it with four sheets and check collisions with a formula. It stops being enough when there are groupings and tracks, many teacher constraints and frequent changes. Excel checks a timetable you have built. It does not search for one.
Four sheets worth building
| Sheet | What is in it |
|---|---|
| Teachers | Name, subjects, days not available, position hours |
| Hours | Class, subject, hours a week, teacher |
| Constraints | Teacher, constraint, whether hard (must) or soft (preferred) |
| Timetable | A row for each hour of the week (day and hour), a column for each class |
The separation between hard and soft constraints is explained in the full guide to building a timetable, and on collecting the constraints themselves: teacher constraints.
The formula that saves the most mistakes
In the "Timetable" sheet, assume each row is an hour of the week (for example "Sunday 1", "Sunday 2"), in rows 3 to 50, the classes in columns C to Z, with a teacher name in each cell. Select the range C3:Z50, choose conditional formatting, "Use a formula", and write:
=AND(C3<>"",COUNTIF($C3:$Z3,C3)>1)
Every teacher who appears twice in the same row, that is in two classes at the same hour, will be marked in the colour you chose. The first part of the formula skips empty cells. In Excel set to a European region the formula separator is a semicolon and not a comma. A second formula, in another sheet, can count how many hours a week each teacher was assigned and compare it with what appears in the "Hours" sheet.
When Excel is enough
- A small school, with few teachers in each class.
- Few groupings, and no tracks.
- A timetable that does not change much from the middle of the year.
- The builder already knows what a good timetable looks like.
When you move to software
- Groupings and tracks. Several classes learn in parallel, and teachers and rooms have to line up.
- Constraints that collide. Every fix solves one row and breaks another.
- Changes in the middle of the year. A new teacher or maternity leave force a new check: timetable changes in the middle of the year.
- Substitution. A list of free teachers and the monthly report are not built with a simple formula.
A comparison between programs: timetable software for a school: 8 questions before you choose.
You can start in Excel and move without losing work
In Teaching School you import the hours from an Excel or CSV file, with a row for each class and subject, and the teachers from a separate file. The timetable is built and checked against the constraints. You export the result back to Excel, with a sheet for each class and each teacher. An information kit you can pass to the management: the school kit.
Frequently asked questions
How do I mark in Excel a teacher assigned to two classes at the same hour?
In a sheet where each row is an hour of the week and each column is a class, define conditional formatting over the range of cells with the formula =AND(C3<>"",COUNTIF($C3:$Z3,C3)>1). Any teacher name that appears twice in the same row will be marked in the colour you chose.
Can I build a timetable in Google Sheets?
Yes. The same formula works in Google Sheets, and its advantage is that several people edit together. The drawback is the same as in Excel: the sheet checks, but does not search for a solution.
When is Excel no longer enough for a timetable?
When there are many constraints that collide, groupings and tracks, or frequent changes in the middle of the year. Every change in the sheet is a manual fix that can break another row.
Can I import the sheet into software?
In Teaching School you can import an Excel or CSV file with a row for each class and subject, and export the timetable back to Excel, with a sheet for each class and each teacher.
Written by the Teaching team · Updated on 25 November 2026.
Start free: free until you publish the first timetable
Want to check a timetable against the constraints without writing formulas?
Go to Teaching SchoolKit for schools
A price list, questions and answers and the security details on one page that you can pass to the management and print.
Open the kit for schools

