Module 10 · Data Analytics Foundations
Your first analytics project
Run the whole cycle on Kolanut's staff data, from question to recommendation, and prepare for the final project.
About 15 minutes
The problem
Kolanut's HR manager is worried: "It feels like we keep losing people, especially in customer service. Is that true, and what should we do?"
This lesson walks through a small but complete analysis of that question. The course's final project then asks you to take it further on your own.
The concept
A complete analysis, even a small one, has five parts. You'll produce them for the final project:
- The question, in measurable form.
- The data you used and anything you cleaned or excluded.
- The analysis: the calculations and a chart or table.
- The finding, in one or two sentences.
- The recommendation and its limits: what the data can't tell you.
What each part looks like
| Part | Length | Good example |
|---|---|---|
| Question | One sentence | "Of everyone employed since 2018, what share resigned, and does it differ by department?" |
| Data | A short paragraph or list | "employees.csv, 80 rows, one per employee. No cleaning needed; no rows excluded." |
| Analysis | One table or chart, plus the method in a line | The department table below, built with a pivot table |
| Finding | One or two sentences, with numbers | "Customer Service: 3 of 8 resigned (37.5%), about three times the company rate of 13.8%." |
| Recommendation and limits | Two or three sentences | What to do next, and what the data can't show |
A note on small numbers
Kolanut has 80 employees. When you split them by department, some groups have only 6 or 8 people. One resignation in a group of 8 moves the rate by 12.5 percentage points. Report the counts next to the rates ("3 of 8", not just "37.5%"), and be careful about strong conclusions from small groups.
Look for a hidden third factor
Leavers earned less: a median of ₦355,000 a month, against ₦525,000 for staff who stayed. It's tempting to conclude "low pay makes people leave". But every leaver was Junior or Mid level, and junior staff earn less because they're junior. Job level could explain both the lower pay and the resignations.
A factor that is linked to both things you're comparing is called a confounder. Before claiming that A causes B, ask: is there a C that drives both? Here, the fair comparison is pay within the same job level, and with only 11 leavers, the numbers are too small to settle it. Say so.
Checks before you share
- Do the totals add up? Department staff should sum to 80; resigned to 11.
- Does one number match a second method? A pivot count and a
COUNTIFSshould agree. - Are the counts shown next to the percentages?
- Is every number in the summary also in the analysis? No figure should appear from nowhere.
- Could someone else repeat it? Your data and method notes should be enough.
- Is the limit stated? What the data can't tell you, in one sentence.
Example
Question. Of everyone Kolanut has employed since 2018, what share has resigned, and does it differ by department?
Data. employees.csv: one row per employee, with department, job_level and status (Active or Resigned).
Analysis.
| Department | Staff | Resigned | Resigned % |
|---|---|---|---|
| Customer Service | 8 | 3 | 37.5% |
| Finance | 10 | 2 | 20.0% |
| Operations | 27 | 5 | 18.5% |
| IT | 12 | 1 | 8.3% |
| Sales | 17 | 0 | 0.0% |
| Human Resources | 6 | 0 | 0.0% |
| All | 80 | 11 | 13.8% |
Finding. Customer Service has the highest share of resignations (3 of 8 people, 37.5%), about three times the company-wide rate. By job level, all 11 people who left were Junior or Mid level; no Senior staff or Managers resigned.
Recommendation. Hold short exit and "stay" conversations with Customer Service staff to understand why people leave, and review junior pay and workload there. Limit: these are small numbers, and the data has no reasons for leaving, so treat this as a signal to investigate, not proof.
Walkthrough
How to produce the table above in a spreadsheet:
- Open
employees.csvin Google Sheets or Excel. - Insert a pivot table (Sheets: Insert → Pivot table; Excel: Insert → PivotTable).
- Put
departmentin Rows. - Put
employee_idin Values, summarised by COUNTA (Sheets) or Count (Excel). That's the Staff column. - Put
statusin Columns. You now have Active and Resigned counts per department. - Next to the pivot, calculate Resigned ÷ Staff × 100 for each department.
- Sort by the percentage, largest first.
Practice
Practice
Across all 80 employees, what percentage have resigned? Give one decimal place.
Practice
Now attendance. In attendance.csv (June 2026, active staff only), how many records have the status Late?
More practice
Optional drills. They don't count towards the certificate, but they're the fastest way to make this lesson stick. Several use a different dataset from the lesson on purpose: if you can do the same thing on unfamiliar data, you've really learned it.
Drill · optional
What is the average length (days) of an approved leave request in leave.csv? One decimal place.
Check your understanding
Answer every question to check.
When you've finished this lesson, take the final assessment, then open the final project from the course page.