Case 10 · 3 levels
Headcount and pay review
Finance needs headcount, payroll and typical pay by department before the budget, and Support says its managers are stretched. Frame the question, check the HR export, summarise pay and spans of control, and recommend.
StartThis case unlocks when you finish any one of these chapters. The levels are readable now.
Every budget season, Finance asks the same three questions about people: how many do we have, what do they cost, and where is the next hire most needed. This year there is a fourth: Angela Rivera wants a second Support Team Lead, because she says her managers are stretched. Laura Bennett, Head of Finance, will not sign off on a new manager role without numbers.
The data is small, 60 employees, but people data has its own traps: reporting lines that lead nowhere, averages that hide the typical salary, and groups so small that a summary gives away someone’s pay. This case is the whole job:
- Frame the question: which people, which measures, which comparison, and what decision it feeds.
- Check the data: duplicates, managers who are not on the list, the one person with no manager, salaries that look wrong.
- Analyse in SQL, pandas or Excel, whichever you prefer: headcount, payroll, mean and median pay by department, and direct reports per manager.
- Recommend: pick the paragraph you would send, with the numbers and the caveats, including what must stay private.
The case opens when you finish any one of SQL chapter 5, pandas chapter 7 or Excel chapter 2. It uses a self-join (or a self-merge in pandas, or COUNTIF on a 60-row sheet in Excel); the lessons walk through each.
Levels
- Frame the headcount and pay question
from Laura Bennett, Head of Finance
smart goal, problem framing, span of control, median, data privacy
- Check and summarise headcount and pay
from Laura Bennett, Head of Finance
data validation, self join, left join, group by, median, span of control
- Recommend: the budget figures and the team lead
from Laura Bennett, Head of Finance
recommendation, caveats, median, span of control, data privacy, data storytelling