Array Functions
Intermediate

UNIQUE, then a count beside each value

Spill the distinct list, then count each item against the source.

Task:

You want a quick summary of tickets by category. In E2 list each category once with UNIQUE, then in F2:F4 count how many tickets each one has.

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 × 6 columns6 cells you fill in
ABCDEF
1TicketCategoryCategoryTickets
2T1Billing
3T2Login
4T3Billing
5T4Delivery
6T5Login
7T6Billing
8T7Delivery
9T8Billing
What this exercise teachesMay contain the answer

UNIQUE builds the left-hand column of a summary table for you, in the order categories first appear. Counting against each spilled value turns it into a frequency table without a pivot — and when a new category appears in the data, it appears in the list too.