Dynamic Arrays: UNIQUE, FILTER & SORT Functions
Syntax Structure
=SORT(UNIQUE(FILTER(array, include, [if_empty])))Nests FILTER to isolate matching criteria, UNIQUE to drop duplicates, and SORT for alphabetical ordering.
Live Interactive Spreadsheet
⚡ Excel 365, Excel 2021, Excel for Web
Extract unique list of categories from a list with repeated entries.
| # | A (Item) | B (Price) | C (Category) | D (In Stock) |
|---|---|---|---|---|
| 2 | OLED TV | $1200 | Electronics | YES |
| 3 | Wool Coat | $220 | Apparel | YES |
| 4 | Air Fryer | $140 | Home Goods | YES |
| 5 | Bluetooth Pods | $90 | Electronics | NO |
| 6 | Silk Scarf | $65 | Apparel | YES |
The Dynamic Array Revolution
In modern Excel, a single formula entered into one cell can spill dynamic results across multiple rows and columns automatically.
💡 Pro Tip / Best Practice
Use the # (Spill Operator) after a cell reference to reference the entire dynamic spill range automatically!