Training and compliance matrix: practice exercises
Renewal dates with EDATE and VLOOKUP, Expired and Due soon, % compliant by team, two-way lookup, COUNTBLANK. 5 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.
The table in G2:H7 says how many months each course lasts before it has to be done again. In D2, work out the date each person's training is due for renewal. Your formula will be copied down to D15.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Staff member | Course | Completed | Renewal due | Course | Renew after (months) | ||
| 2 | Lucy | Fire safety | 14/08/2023 | Fire safety | 24 | |||
| 3 | Jess | First aid at work | 21/10/2026 | First aid at work | 36 | |||
| 4 | Hamza | Display screen equipment | 12/02/2026 | GDPR | 12 | |||
| 5 | Ben | Fire safety | 15/07/2026 | Safeguarding | 12 | |||
| 6 | Nadia | GDPR | 23/04/2026 | Manual handling | 12 | |||
| 7 | Maria | Display screen equipment | 25/04/2024 | Display screen equipment | 12 | |||
| 8 | Dev | Fire safety | 30/06/2025 | |||||
| 9 | Priya | Fire safety | 01/07/2025 | |||||
| 10 | Rachel | First aid at work | 05/09/2023 | |||||
| 11 | Sunil | Display screen equipment | 18/07/2025 | |||||
| 12 | Ella | GDPR | 12/04/2025 | |||||
| 13 | Tom | GDPR | 27/03/2026 | |||||
| 14 | Liam | Safeguarding | 03/02/2025 | |||||
| 15 | Marek | Manual handling | 14/07/2024 |
How it works
A training matrix shows who has done which course and when it runs out. EDATE moves a date on by whole months, so =EDATE(C2,36) is three years after C2. HSE says a first aid at work certificate lasts three years. How often fire safety, GDPR, safeguarding and manual handling are renewed is up to each organisation. So the renewal periods here sit in a table you can change to match your own policy.
With staff down the side and courses across the top, INDEX with two MATCHes finds one person's date for one course. COUNTBLANK counts the courses someone has never done.
=EDATE(C2,VLOOKUP(B2,$G$2:$H$4,2,FALSE)) =IFS(B2<$F$1,"Expired",B2<=$F$1+$F$2,"Due soon",TRUE,"In date") =COUNTIFS(B2:B25,F2,D2:D25,"<>Expired")/COUNTIF(B2:B25,F2) =INDEX($B$2:$D$4,MATCH(G2,$A$2:$A$4,0),MATCH(H2,$B$1:$D$1,0)) =COUNTBLANK(B2:D2)
Renewal dates
Amira did first aid at work on 14 March 2024. HSE says a first aid at work certificate lasts three years, so she needs to requalify by 14 March 2027. =EDATE(C2,36) moves the date on 36 months.
Each course has its own period, so keep them in a small table and look the months up: =EDATE(C2,VLOOKUP(B2,$G$2:$H$7,2,FALSE)). Adding 36 straight to the date would add 36 days. Apart from first aid, the periods are your organisation's policy, so check yours.
Worked example
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Staff | Course | Completed | Renewal due | Course | Months | ||
| 2 | Amira | First aid at work | 14/03/2024 | Fire safety | 12 | |||
| 3 | Ben | Fire safety | 02/12/2025 | First aid at work | 36 | |||
| 4 | Cara | GDPR | 20/01/2025 | GDPR | 24 |
=EDATE(C2,VLOOKUP(B2,$G$2:$H$4,2,FALSE))in D2. Amira's first aid is due on 14/03/2027. Ben's fire safety lasts 12 months, so it's due on 02/12/2026, and Cara's GDPR training on 20/01/2027.
Expired, Due soon or In date
Today is 1 December 2026, and anything due in the next 60 days counts as due soon. 60 days on is 30 January 2027. The dates on each boundary are the ones to watch.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Staff | Renewal due | Status | Today | 01/12/2026 | |
| 2 | Amira | 14/03/2027 | Due soon (days) | 60 | ||
| 3 | Ben | 02/12/2026 | ||||
| 4 | Cara | 30/01/2027 | ||||
| 5 | Dev | 15/11/2026 | ||||
| 6 | Ewa | 01/12/2026 |
=IFS(B2<$F$1,"Expired",B2<=$F$1+$F$2,"Due soon",TRUE,"In date")in C2. Dev's date has passed: Expired. Ewa's is today, so it isn't expired yet: Due soon. Cara's is exactly 60 days away and Ben's is tomorrow: both Due soon. Amira is In date.
Compliance by team
Finance has 8 training records: 5 in date, 1 due soon and 2 expired. Due soon still counts as compliant, so 6 of the 8 are: 75%.
In a formula, count the team's records that aren't expired and divide by all the team's records: =COUNTIFS(B2:B25,F2,D2:D25,"<>Expired")/COUNTIF(B2:B25,F2). "<>Expired" means “not Expired”.
A training matrix
Staff down the side, courses across the top. A blank means never done, and N/A means the job doesn't need it.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Staff | Fire safety | First aid | GDPR | Not done | Staff | Course | Completed | |
| 2 | Amira | 10/02/2026 | 05/05/2025 | Ben | GDPR | ||||
| 3 | Ben | 03/03/2026 | N/A | 12/09/2025 | |||||
| 4 | Cara | N/A |
=INDEX($B$2:$D$4,MATCH(G2,$A$2:$A$4,0),MATCH(H2,$B$1:$D$1,0))in I2. Ben is the 2nd person and GDPR the 3rd course, so INDEX takes row 2, column 3 of the dates: 12/09/2025.XLOOKUP(H2,$B$1:$D$1,XLOOKUP(G2,$A$2:$A$4,$B$2:$D$4))does the same.=COUNTBLANK(B2:D2)in E2. Amira has never done first aid: 1. Ben's N/A isn't empty, so he has 0. Cara has 2.
What you'll practise
- The table in G2:H7 says how many months each course lasts before it has to be done again. In D2, work out the date each person's training is due for renewal. Your formula will be copied down to D15.
- In D2, show Expired if the renewal date is before today's date in H1. Show Due soon if it's on H1 or within the number of days in H2 after it (up to and including H1 + H2). Show In date otherwise. Use H1 and H2 in your formula so it still works tomorrow.
- A training record is compliant if it isn't Expired: Due soon still counts. In G2, work out the % of the team in F2's training records that are compliant. Your formula will be copied down to G5.
- Columns B to F are a training matrix: each cell is the date that person last did that course. Managers have asked for the dates in H and I. In J2, look up the date for the person in H2 and the course in I2. Your formula will be copied down to J5.
- In this matrix a blank means the person has never done the course, and N/A means their job doesn't need it. In G2, count how many courses each person has never done. N/A isn't a gap.