Premium exercise · Excel logic, arrays, and finance
UNIQUE practice: count distinct regions
Practice Excel UNIQUE by counting how many different regions appear in a list that repeats some of them.
Column A lists a region on every order. The same region appears more than once.
In C2, count the distinct regions with UNIQUE. Wrap it in ROWS so the answer is a single number in C2.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C |
|---|---|---|---|
| 1 | Region | Distinct | |
| 2 | East | Formula goes in C2. formula | |
| 3 | West | ||
| 4 | East | ||
| 5 | North | ||
| 6 | West | ||
| 7 | East |
Hint
UNIQUE returns one row per distinct value. ROWS counts how many rows that list has.
Explanation
This exercise practices UNIQUE and ROWS in Excel. The formula goes in C2.
UNIQUE lists East, West, and North once each. ROWS counts those three results. The repeats never become extra rows. In a sheet, UNIQUE spills; ROWS folds that spill into the one cell this drill checks.
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.