Skills matrix
=UNIQUE(FLATTEN(Skills!B2:F)) lists every skill entered across five competency columns.
FLATTEN converts a two-dimensional range into a single column, reading across rows then down. It is useful after SPLIT or when you need every value from a block in one list for UNIQUE, COUNTIF, or mail merge prep.
Use FLATTEN when tags, skills, or matrix answers live in multiple columns and you need one vertical list for analysis.
Skip FLATTEN when structure matters, like keeping month columns separate for charts. TOROW or TOCOL offer more control.
Select the rectangular range containing values to collapse.
Write =FLATTEN(A2:D10) to stack all cells into one column in row-major order.
Wrap with UNIQUE or SORT for distinct alphabetized lists.
Filter empties with FILTER(FLATTEN(range), LEN(FLATTEN(range))) carefully or FLATTEN after IF blanks.
Check spill length so you do not overwrite totals below.
Combine with SPLIT first when one cell holds comma-separated tags.
=UNIQUE(FLATTEN(Skills!B2:F)) lists every skill entered across five competency columns.
=FLATTEN(SPLIT(A2:A, ",")) turns multi-tag cells into one tag per row.
=COUNTIF(FLATTEN(Responses!C2:H), "Yes") counts affirmative answers across a likert grid.
Build this without starting from a blank cell
Use a Better Sheets tool for FLATTEN, then watch a walkthrough when you want the full pattern.
Watch how FLATTEN works
Guides that explain FLATTEN in more depth.
UNIQUE extracts a deduplicated list from a column or table. Optional arguments control whether duplicates appear by row, by column, or with occurrence counts. It powers dropdown source lists, category tabs, and data cleanup without manual copy-paste.
Read guide →TOROW flattens a range into a single row spill. Like TOCOL but horizontal, it helps build header arrays, SPARKLINE source rows, and inputs for functions that expect one horizontal vector.
Read guide →TOCOL converts a range into a single column. You can choose whether it reads down each column first or across rows first. It replaces manual paste-special transpose chains when reshaping blocks for UNIQUE or FILTER.
Read guide →HSTACK appends arrays horizontally so columns sit side by side in one spilled table. It replaces fragile copy-paste when combining QUERY outputs, IMPORTRANGE blocks, or calculated columns with matching row heights.
Read guide →Done reading about FLATTEN?
Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.
Need this once
Jump to a free tool or a single tutorial for this topic.
Learning Sheets for real
Unlock the full library, generators, and templates with membership.