Practice by topic / Excel / Counting & Averaging

AVERAGEIF Exercises

Counting and averaging are how you summarise a list: how many orders, how many late, what the typical value is. Most reports start here. These 10 exercises build up step by step, starting with average sales for one region, average scores for passing students, average response time for urgent tickets.

3 of 10 free · no sign-up needed · graded on the formula you write

1

Average Sales for One Region

Free

A1:A5 hold regions, B1:B5 hold sales amounts. Write a formula in C1 that averages sales for "West" only.

ABC
1West100?
2East200
3West150
4North80
5West120
Show the solution

Use =AVERAGEIF(A1:A5,"West",B1:B5)

Right — AVERAGEIF filters to matching rows before computing the average.

Expected result in C1: 123.33333333333333

Try it in the live spreadsheet →
2

Average Scores for Passing Students

Free

A1:A5 hold pass/fail status, B1:B5 hold scores. Write a formula in C1 that averages the scores of students marked "pass".

ABC
1pass85?
2fail45
3pass92
4pass78
5fail50
Show the solution

Use =AVERAGEIF(A1:A5,"pass",B1:B5)

Good — AVERAGEIF only includes the scores from rows where the status matches.

Expected result in C1: 85

Try it in the live spreadsheet →
3

Average Response Time for Urgent Tickets

Free

A1:A5 hold priority levels, B1:B5 hold response times. Write a formula in C1 that averages response time for "urgent" tickets.

ABC
1urgent1?
2low8
3urgent2
4urgent3
5low6
Show the solution

Use =AVERAGEIF(A1:A5,"urgent",B1:B5)

Right — this isolates just the urgent-ticket response times before averaging.

Expected result in C1: 2

Try it in the live spreadsheet →
4

Average Price of In-Stock Items

A1:A5 hold stock status, B1:B5 hold prices. Write a formula in C1 that averages the price of items marked "in stock".

ABC
1in stock20?
2out of stock35
3in stock15
4in stock25
5out of stock40

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
5

Average Spend Above a Threshold

A1:A5 hold purchase amounts. Write a formula in A6 that averages only the purchases over 50 (criteria and average range are the same here).

A
130
280
320
465
590
6?

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
6

Average Rating for One Product Category

A1:A5 hold categories, B1:B5 hold ratings. Write a formula in C1 that averages ratings for "Electronics".

ABC
1Electronics4?
2Books5
3Electronics3
4Electronics5
5Books4

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
7

Average Hours for Full-Time Staff

A1:A5 hold employment type, B1:B5 hold weekly hours. Write a formula in C1 that averages hours for "full-time" employees.

ABC
1full-time40?
2part-time20
3full-time38
4full-time42
5part-time15

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
8

Average Discount Given on Sale Items

A1:A5 hold sale flags, B1:B5 hold discount percentages. Write a formula in C1 that averages the discount for items marked "yes".

ABC
1yes10?
2no0
3yes20
4yes15
5no0

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
10

Average Duration for Completed Tasks

A1:A5 hold task status, B1:B5 hold durations in hours. Write a formula in C1 that averages the duration of "completed" tasks.

ABC
1completed3?
2pending5
3completed4
4completed2
5pending6

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →