A coach does not look at one number, but at several numbers for the same runner. Total time, average time, number of laps, best and worst lap: each one needs a different function, but always with the same condition, the runner’s name. This is where SUMIF, AVERAGEIF, COUNTIF, MINIFS and MAXIFS work together.
The following exercise shows you how to mix all the conditional functions to analyse the laps of each runner.
What you will practice in this exercise
You work on the lap times of four runners in a stadium. You answer 8 questions, one formula per question:
- Alice’s total time (SUMIF)
- Bob’s average time (AVERAGEIF)
- Number of laps run by David (COUNTIF)
- Clara’s average time (AVERAGEIF)
- Alice’s best time (MINIFS)
- Clara’s worst time (MAXIFS)
- Total of the times under 60 seconds (SUMIF with an operator)
- David’s best time, name read from a cell (cell reference)
Practice with exercises
Mixed functions — Stadium laps
The big mix: SUMIF, AVERAGEIF, MIN and MAX with conditions, all in one analysis.
Related articles
All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.