Practice by topic / Excel / Counting & Averaging

COUNTIFS 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 count orders from a region above a value, count employees in a department with high ratings, count products in stock and on sale.

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

1

Count Orders From a Region Above a Value

Free

A1:A4 hold regions, B1:B4 hold order amounts. Write a formula in C1 that counts orders from "West" that are also over 100.

ABC
1West120?
2East200
3West80
4West150
Show the solution

Pass both range/criteria pairs: =COUNTIFS(A1:A4,"West",B1:B4,">100")

Right — COUNTIFS requires every criteria pair to match on the same row, giving you a combined condition.

Expected result in C1: 2

Try it in the live spreadsheet →
2

Count Employees in a Department With High Ratings

Free

A1:A4 hold departments, B1:B4 hold performance ratings. Write a formula in C1 that counts "Sales" employees rated 4 or higher.

ABC
1Sales5?
2Sales3
3Support4
4Sales4
Show the solution

Use =COUNTIFS(A1:A4,"Sales",B1:B4,">=4")

Good — the two conditions must both be true on the same row to count.

Expected result in C1: 2

Try it in the live spreadsheet →
3

Count Products in Stock and On Sale

Free

A1:A4 hold stock counts, B1:B4 hold sale flags ("yes"/"no"). Write a formula in C1 that counts products with stock over 0 that are on sale.

ABC
15yes?
20yes
310no
43yes
Show the solution

Use =COUNTIFS(A1:A4,">0",B1:B4,"yes")

Right — combining a numeric and a text criteria across two ranges works the same way.

Expected result in C1: 2

Try it in the live spreadsheet →
4

Count Students Passing in a Specific Class

A1:A4 hold class names, B1:B4 hold scores. Write a formula in C1 that counts "Math" scores that are 60 or above.

ABC
1Math75?
2Science55
3Math40
4Math88

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

Count Transactions in a Date Range Style Filter

A1:A4 hold transaction types, B1:B4 hold amounts. Write a formula in C1 that counts "refund" transactions under 50.

ABC
1refund30?
2sale100
3refund80
4refund15

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

Count Tickets by Priority and Status

A1:A4 hold priorities, B1:B4 hold statuses. Write a formula in C1 that counts "high" priority tickets that are "open".

ABC
1highopen?
2lowopen
3highclosed
4highopen

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

Count Products Under a Price in a Category

A1:A4 hold categories, B1:B4 hold prices. Write a formula in C1 that counts "Electronics" items priced under 100.

ABC
1Electronics80?
2Electronics150
3Books20
4Electronics60

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

Count Applicants Meeting Two Criteria

A1:A4 hold years of experience, B1:B4 hold interview scores. Write a formula in C1 that counts applicants with 3+ years experience and a score above 80.

ABC
1585?
2290
3475
4688

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 →
9

Count Shipments Late From a Carrier

A1:A4 hold carrier names, B1:B4 hold days late (0 = on time). Write a formula in C1 that counts "FastShip" shipments that were late (days late > 0).

ABC
1FastShip2?
2FastShip0
3SlowCo3
4FastShip1

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

Count Rows Matching Two Numeric Ranges

A1:A4 hold ages, B1:B4 hold incomes. Write a formula in C1 that counts people aged 30 or older earning over 50000.

ABC
13560000?
22555000
34045000
43270000

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 →