Case 2: Headcount and employee turnover rate
How many people do we have, how many left, and is that a lot? You count headcount, starters and leavers straight from the staff list, with no pivot table and no manual counting, and turn them into a turnover rate by month and by department.
In short: headcount on a date = COUNTIFS(start,"<="&date) minus COUNTIFS(leaving,"<"&date). Leavers in a month are a COUNTIFS with two date limits, and EOMONTH(month,0) gives the last day. The rate is leavers divided by average headcount. The main-course page Excel for HR counts headcount per department on one day; here you add periods and movements.
The situation
Early July at a business with three departments. The managing director wants to see, for the half-year review, how headcount has moved and whether one department is losing noticeably more people than the others. The HR system exports a list of everyone employed in recent years, including people who have already left: staff number, name, department, job title, weekly hours, cost centre, start date and leaving date. For current staff the leaving date is empty.
Which turnover formula?
There is no single official definition of employee turnover. Several versions are in use, and they differ mainly in what goes below the line: average headcount, headcount at the start, or headcount at the start plus starters. Some organisations count only resignations, others every leaver including retirements and the end of fixed-term contracts. This workbook uses
turnover rate = leavers in the period ÷ ((headcount on the first day + headcount on the last day) ÷ 2)
and counts all leavers. What matters is not which version you pick but that you say which one in the report and use it the same way every year.
The workbooks sheet by sheet
- Staff: 14 people, start date in column G, leaving date in column H. The leaving date is the last day of employment. One person left in 2025, one starts on 1 January exactly.
- Report (task 1): the months January to June as the date of the first of the month in column A.
- Departments (task 2): the period in B1 and D1, below it one row per department and a total row.
Task 1: headcount and turnover by month
Task Monthly report January to June 2026 from the staff list. B2: headcount on the first of the month (started on or before that day, not left before it). C2: headcount on the last day of the month, same rule. D2: leavers with a leaving date in that month. E2: turnover rate = leavers divided by the average of B2 and C2 (as a fraction, not times 100). Fill all formulas down to row 7. E9: the rate for the half year: all leavers divided by the average of the headcount on 1 January and on 30 June.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Month | Headcount start | Headcount end | Leavers | Turnover | |
| 2 | 1 Jan 2026 | |||||
| 3 | 1 Feb 2026 | |||||
| 4 | 1 Mar 2026 | |||||
| 5 | 1 Apr 2026 | |||||
| 6 | 1 May 2026 | |||||
| 7 | 1 Jun 2026 | |||||
| 8 | ||||||
| 9 | Half year | |||||
| 10 | ||||||
| 11 |
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Staff no. | Name | Department | Job title | Hours/week | Cost centre | Start date | Leaving date | |
| 2 | P-1001 | Rachel Adams | Sales | Sales coordinator | 40 | 4100 | 1 Apr 2019 | ||
| 3 | P-1002 | Ben Thompson | Sales | Sales coordinator | 40 | 4100 | 15 Aug 2021 | 31 Mar 2026 | |
| 4 | P-1003 | Simon Wright | Operations | Production operative | 38 | 4200 | 1 Feb 2018 | ||
| 5 | P-1004 | Megan Clarke | Operations | Production operative | 38 | 4200 | 1 Sep 2022 | 15 May 2026 | |
| 6 | P-1005 | Tariq Hussain | Operations | Production operative | 38 | 4200 | 1 Mar 2026 | ||
| 7 | P-1006 | Helen Ward | Admin | Administrator | 30 | 4300 | 1 Oct 2020 | ||
| 8 | P-1007 | Josh Reed | Admin | Administrator | 40 | 4300 | 1 Jun 2023 | 31 Dec 2025 | |
| 9 | P-1008 | Chloe Martin | Sales | Sales coordinator | 40 | 4100 | 1 Jan 2026 | ||
| 10 | P-1009 | Adam Fisher | Operations | Production operative | 38 | 4200 | 16 Nov 2024 | 28 Feb 2026 | |
| 11 | P-1010 | Zoe Patel | Admin | Administrator | 20 | 4300 | 1 May 2026 | ||
| 12 | P-1011 | Gary Lewis | Operations | Production operative | 38 | 4200 | 1 Jul 2016 | 30 Jun 2026 | |
| 13 | P-1012 | Amy Collins | Sales | Sales coordinator | 40 | 4100 | 1 Mar 2025 | ||
| 14 | P-1013 | Sam Baker | Operations | Production operative | 38 | 4200 | 1 Apr 2026 | ||
| 15 | P-1014 | Diane Foster | Admin | Administrator | 40 | 4300 | 1 Feb 2017 | ||
| 16 | |||||||||
| 17 |
Step 1: headcount on a given day
On the first of the month, the headcount is everyone who started on or before that day and did not leave before it: =COUNTIFS(Staff!$G$2:$G$15,"<="&A2)-COUNTIFS(Staff!$H$2:$H$15,"<"&A2). The second count takes away everyone who left earlier. Empty leaving dates never meet the "<" condition, so current staff stay in. You build the condition by joining the operator and the date with &, as in the lesson on COUNTIFS.
Step 2: headcount at month end and leavers
For C2, replace A2 with EOMONTH(A2,0). Someone whose last day is 31 March is still employed that day, so they count in the March month-end headcount but not on 1 April. Leavers in the month are =COUNTIFS(Staff!$H$2:$H$15,">="&A2,Staff!$H$2:$H$15,"<="&EOMONTH(A2,0)): the same column twice, with a lower and an upper limit.
Step 3: the rate
E2 is =D2/((B2+C2)/2). Leave the result as a fraction and give the column a percentage format; there is no need to multiply by 100. E9 works out the half year with the same building blocks: all leavers divided by the average of the headcount on 1 January (B2) and on 30 June (C7).
Task 2: turnover by department
The follow-up question is always the same: which department drives the number? Now every count gets the department as an extra condition, and the period sits in two cells so the report works for any quarter or year.
Task Turnover by department for the period B1 to D1. B4: headcount on the first day (started on or before B1, not left before B1). C4: starters after B1 up to and including D1. D4: leavers from B1 up to and including D1. B7 to D7: totals across the departments. E4: headcount end = start plus starters minus leavers (down to E7). F4: turnover = leavers divided by the average of start and end headcount (down to F7). The formulas in B4, C4 and D4 are filled down to row 6.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Period from | 1 Jan 2026 | to | 30 Jun 2026 | |||
| 2 | |||||||
| 3 | Department | Headcount start | Starters | Leavers | Headcount end | Turnover | |
| 4 | Sales | ||||||
| 5 | Operations | ||||||
| 6 | Admin | ||||||
| 7 | Total | ||||||
| 8 | |||||||
| 9 |
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Staff no. | Name | Department | Job title | Hours/week | Cost centre | Start date | Leaving date | |
| 2 | P-1001 | Rachel Adams | Sales | Sales coordinator | 40 | 4100 | 1 Apr 2019 | ||
| 3 | P-1002 | Ben Thompson | Sales | Sales coordinator | 40 | 4100 | 15 Aug 2021 | 31 Mar 2026 | |
| 4 | P-1003 | Simon Wright | Operations | Production operative | 38 | 4200 | 1 Feb 2018 | ||
| 5 | P-1004 | Megan Clarke | Operations | Production operative | 38 | 4200 | 1 Sep 2022 | 15 May 2026 | |
| 6 | P-1005 | Tariq Hussain | Operations | Production operative | 38 | 4200 | 1 Mar 2026 | ||
| 7 | P-1006 | Helen Ward | Admin | Administrator | 30 | 4300 | 1 Oct 2020 | ||
| 8 | P-1007 | Josh Reed | Admin | Administrator | 40 | 4300 | 1 Jun 2023 | 31 Dec 2025 | |
| 9 | P-1008 | Chloe Martin | Sales | Sales coordinator | 40 | 4100 | 1 Jan 2026 | ||
| 10 | P-1009 | Adam Fisher | Operations | Production operative | 38 | 4200 | 16 Nov 2024 | 28 Feb 2026 | |
| 11 | P-1010 | Zoe Patel | Admin | Administrator | 20 | 4300 | 1 May 2026 | ||
| 12 | P-1011 | Gary Lewis | Operations | Production operative | 38 | 4200 | 1 Jul 2016 | 30 Jun 2026 | |
| 13 | P-1012 | Amy Collins | Sales | Sales coordinator | 40 | 4100 | 1 Mar 2025 | ||
| 14 | P-1013 | Sam Baker | Operations | Production operative | 38 | 4200 | 1 Apr 2026 | ||
| 15 | P-1014 | Diane Foster | Admin | Administrator | 40 | 4300 | 1 Feb 2017 | ||
| 16 | |||||||||
| 17 |
This exercise is part of Premium.
Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.
See Premium Already Premium? Log in
The first exercise in this lesson is free.
Starters count from the day after B1 (anyone who starts on the first day is already in the opening headcount), leavers up to and including D1. That way, start plus starters minus leavers adds up. The total row adds headcounts and movements and works the rate out again from the totals; averaging the three department rates would weight them wrongly.
Common mistakes
Counting last year's leavers
=COUNTIF(Staff!$G$2:$G$15,"<="&A2) on its own counts everyone who ever started, including Josh Reed, who left at the end of 2025. Without the second count every headcount is too high.
Using "<=" on the leaving date
If you subtract everyone with a leaving date "<="&A2, anyone who leaves on the last day of the month drops out of that day's headcount. Then month-end headcount and leavers no longer fit together.
Month end as day 30
A2+30 lands on 3 March in February and misses 31 July. EOMONTH knows every month length and every leap year.
Typing the department
"Sales" instead of A4 works in one row and breaks when you fill down. The exercise also checks with the department rows swapped.
How to check your result
- Task 1: headcount 10 on 1 January, 11 on 1 May, 10 on 30 June. Four leavers in the half year (February, March, May, June). Half-year rate 0.4, or 40%.
- Check: month-end headcount minus leavers on the last day plus starters on the first of the next month gives the next opening headcount.
- Task 2: opening headcount 4, 4 and 2, total 10. Operations has 3 leavers and a rate of 0.857; overall there are 4 leavers and a rate of 0.421. The closing headcount of 9 must match the number of people still employed on 1 July.
The functions in German Excel
| English | German |
|---|---|
| COUNTIFS, COUNTIF | ZÄHLENWENNS, ZÄHLENWENN |
| EOMONTH | MONATSENDE |
| SUM | SUMME |
German Excel separates arguments with a semicolon.
Excel versions
COUNTIFS and EOMONTH work in all current versions of Excel, including Excel 2016. In real Excel, turning the staff list into a table (Ctrl+T) makes the ranges grow when you add people.
Back to the course overview.