Array Functions
Beginner

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.

Learning Objectives:

  • Use UNIQUE to deduplicate a column
  • Recognise a spilled result
  • Understand that UNIQUE preserves order
Hints

Solve without hints for +5 XP

Interactive Spreadsheet

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.

ABCDE
1OrderRegionAmountRegions
2SO-1041North1200
3SO-1042South890
4SO-1043North2100
5SO-1044East640
6SO-1045South1750
7SO-1046North430
8SO-1047West980
9SO-1048East1310
What this exercise teaches (contains 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.

Functions used here