Premium exercise · Excel conditional functions
AVERAGEIF practice: one region
Practice Excel AVERAGEIF by averaging only the East scores in a small regional results table.
Column A is the region and column B is the score.
In D2, use AVERAGEIF to average the scores for East. Do not average the whole column.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Region | Score | East average | |
| 2 | East | 10 | Formula goes in D2. formula | |
| 3 | West | 40 | ||
| 4 | East | 30 | ||
| 5 | North | 20 |
Hint
AVERAGEIF takes the range to test, the criteria, and the range of numbers to average.
Explanation
This exercise practices AVERAGEIF in Excel. The formula goes in D2.
AVERAGEIF averages B2:B5 where the region is East. (10 + 30) / 2 is 20. The other regions are ignored even though they sit in the same columns.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.