Array FunctionsBeginner

Pull the distinct regions out of an export

UNIQUE returns each value once, in the order it first appears.

Task:

Sales pulled this report out of the CRM and every order repeats its region. You need the list of regions, each once, to build a summary against. In E2, use UNIQUE to list the distinct regions from B2:B9.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

9 rows × 5 columns4 cells you fill in
ABCDE
1OrderRegionAmountRegions
2SO-1041North1200
3SO-1042South890
4SO-1043North2100
5SO-1044East640
6SO-1045South1750
7SO-1046North430
8SO-1047West980
9SO-1048East1310
What this exercise teachesMay contain the answer

One formula replaces copy, paste-special, Remove Duplicates, and doing it all again next month when the export changes. Because it spills, the list resizes itself when a new region appears.