Case 3: Resource planning with weekly load

A schedule is only as good as the people who work through it. Here you calculate how many hours each person is booked per week, take leave and public holidays off their capacity, and see where it gets tight.

You need: SUMIFS with comparison operators, mixed references like B$1 and $A2, XLOOKUP and COUNTIF.

The situation

Daniel from IT complains that he is double-booked in the second week of March. Sarah has a load table that a colleague built, but according to it Daniel is only booked for 24 hours that week. By Monday the table has to be right, and it has to account for leave and the Easter bank holidays. Then the steering committee decides whether to bring in an external developer.

The workbook

  • Assignments: one row per task and person with the planned hours per week, start and finish. A person can have several assignments at the same time.
  • Load: a grid with the weeks (Monday) in column A and the people in row 1. This is where the booked hours go.
  • Absence (exercise 2): days each person is away per week, leave and public holidays together. Good Friday falls in the week starting 22 Mar 2027, Easter Monday in the week starting 29 Mar 2027, both bank holidays in England and Wales. A US team would enter its own company holidays here.
  • Team (exercise 2): contracted hours per week, in a different order from the grid.
  • Capacity (exercise 2): capacity per person and week at the top, spare capacity and the number of overloaded people below.

Step 1: when does an assignment count in a week?

The colleague's table only counts an assignment in the week it starts. But a task from 10 to 19 March runs in two weeks. Two periods overlap when each one starts before the other ends:

  • The assignment starts on or before Friday of the week: "<="&$A2+4
  • The assignment finishes on or after Monday of the week: ">="&$A2

With the person as a third condition you get:

=SUMIFS(Assignments!$D$2:$D$11,Assignments!$B$2:$B$11,B$1,Assignments!$F$2:$F$11,"<="&$A2+4,Assignments!$G$2:$G$11,">="&$A2)

B$1 locks the row with the names, $A2 the column with the weeks. One formula covers the whole grid.

Exercise 1: fix the colleague's formula

The broken formula is already in the input box. Find out what it does wrong and change it.

Task A colleague built the weekly load, but the numbers are too low: someone working on a task for three weeks only shows up in the first week. Fix the formula in B2 so that each assignment counts in every week it overlaps (week from the Monday in column A to Friday). The formula is filled to B2:E6.

ABCDE
1 Week starting Sarah Daniel Priya Tom
2 1 Mar 2027
3 8 Mar 2027
4 15 Mar 2027
5 22 Mar 2027
6 29 Mar 2027

Step 2: capacity, not contracted hours

Priya works 30 hours, Tom 20. Someone with two days of leave in a week has three fifths of their weekly hours available. You fetch the weekly hours by the name in the header row, because the Team sheet is sorted differently:

=XLOOKUP(B$1,Team!$A$2:$A$5,Team!$B$2:$B$5)*(5-Absence!B2)/5

Spare capacity is capacity minus load; negative means overloaded. COUNTIF with "<0" counts the overloaded people per week, and team utilisation is total load divided by total capacity.

Exercise 2: capacity, spare and overload

Task Does the planned load fit the capacity? B2: the person's capacity in the week = weekly hours from the Team sheet times (5 minus days absent)/5; absence covers leave and public holidays. The formula applies to B2:E6. B9: spare capacity = capacity minus planned load (Load sheet), negative means overloaded; for B9:E13. F9: number of overloaded people in the week; down to F13. B15: team utilisation = total load divided by total capacity.

ABCDEFG
1 Week starting Sarah Daniel Priya Tom
2 1 Mar 2027
3 8 Mar 2027
4 15 Mar 2027
5 22 Mar 2027
6 29 Mar 2027
7
8 Spare from Sarah Daniel Priya Tom Overloaded
9 1 Mar 2027
10 8 Mar 2027
11 15 Mar 2027
12 22 Mar 2027
13 29 Mar 2027
14
15 Team utilisation
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.

Common mistakes

Only checking the start

That is the mistake from exercise 1. Nobody notices until someone recalculates, because the numbers look plausible. Long tasks simply drop out of the load after their first week.

Sunday instead of Friday as the end of the week

Using $A2+6 (Sunday) instead of $A2+4 (Friday) counts an assignment that starts on a Saturday in the old week. For project tasks that start on weekdays this rarely matters, but the Friday boundary is the clean rule.

Fixed references to the Team sheet

Team!B3 is only right until someone re-sorts the list. In the variant of exercise 2 the team is sorted differently.

Utilisation as an average of percentages

Averaging individual utilisation rates weights a week with no capacity (leave) the same as a full week. The right way is total load divided by total capacity.

How to check your result

  • Exercise 1: Daniel has 44 hours in the week starting 8 Mar 2027 (vendor selection 24 plus interfaces 20), and 44 again in the week starting 15 Mar.
  • Each assignment appears in as many weeks as it touches. The grid adds up to 396 hours.
  • Exercise 2: in the week starting 15 Mar 2027, Daniel has only 24 hours of capacity because of two days of leave and is 20 hours over. Team utilisation is 0.72, that is 72%.

A conditional formatting rule "cell value less than 0" colours the overload in the spare capacity red; see conditional formatting.

The formulas in German Excel

EnglishGerman
SUMIFSSUMMEWENNS
XLOOKUPXVERWEIS
COUNTIFZÄHLENWENN
SUMSUMME

Which Excel versions does this work in?

SUMIFS, COUNTIF and SUM work in all current versions. XLOOKUP is available in Microsoft 365, Excel 2024 and Excel 2021; before that, use VLOOKUP(B$1,Team!$A$2:$B$5,2,FALSE).

Next: case 4, the project budget

From hours to money: you separate actuals, committed costs and available budget and forecast the cost at completion.

Open case 4

Back to case 2 · Back to the course overview

Write to us

Choose language

Select your preferred language