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.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Region | East orders | Formula goes in D1. formula | |
| 2 | East | |||
| 3 | West | |||
| 4 | East | |||
| 5 | North | |||
| 6 | East | |||
| 7 | West |
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.