FxFormula Drills

Free exercise · Excel formula basics

COUNTIF for a region

Practice Excel COUNTIF by counting how many orders belong to the East region, with the function required.

Column A lists the region for each order. Count how many are East.

Put a COUNTIF formula in D1. Typing the number 3 does not pass — the formula has to use COUNTIF.

Dataset

Starter sheet. Cells marked formula are where the formula goes.

Starter sheet for this exercise
RowABCD
1RegionEast ordersFormula goes in D1. formula
2East
3West
4East
5North
6East
7West

Hint

COUNTIF takes a range and a criteria. Text criteria go in quotes.

Explanation

This exercise practices COUNTIF in Excel. The formula goes in D1.

COUNTIF counts cells in A2:A7 that equal East. East appears on three rows. The criteria is text, so it sits in quotes.

One formula that works: D1: =COUNTIF(A2:A7,"East"). Other formulas that return the same result are accepted.

Solve this exercise

Drill 8 of 10

Practice this formula

Drag to select a range. The fill handle copies formulas the way Excel does, and the Shortcuts button lists the keyboard.

D1
A
B
C
D
E
F
1
2
3
4
5
6
7
8
9
10
11
12

Highlighted cells are yours. Drag to select, then drag the green square to fill. Shortcuts lists the keyboard.

Loading the formula engine…