October 13, 2025·9 min read

Dynamic Array Formulas: Excel's Most Powerful Modern Feature

Dynamic arrays changed how Excel formulas work. Here's how to use FILTER, SORT, UNIQUE, and the spill concept.

Excel dynamic arrays

In 2018, Microsoft completely changed how Excel formulas work with “dynamic arrays.” A single formula can now return multiple values that “spill” into adjacent cells.

This isn't just a new feature — it's a fundamental shift that makes Excel dramatically more powerful.

The Spill Concept

Old Excel: One formula, one result.
New Excel: One formula, many results that “spill” down or across.

Enter =A1:A10*2 in a cell, and Excel fills 10 cells with the results. The spill range shows a blue border.

FILTER: Dynamic Filtering

=FILTER(array, include, [if_empty])

Example: =FILTER(A2:D100, C2:C100="Sales")

Returns all rows where column C equals “Sales.” Results spill automatically. When source data changes, filtered results update.

SORT: Dynamic Sorting

=SORT(array, [sort_index], [sort_order])

Example: =SORT(A2:D100, 3, -1)

Returns all data sorted by column 3 descending. Unlike Excel's Sort feature, this doesn't modify source data — it creates a sorted view.

UNIQUE: Extract Distinct Values

=UNIQUE(array)

Returns each unique value once. Perfect for creating dropdown lists or understanding what categories exist in your data.

SORTBY: Multi-Column Sorting

=SORTBY(array, by_array1, [sort_order1], ...)

Sort by any column without including it in output. Sort by multiple columns with different orders.

Combining Dynamic Arrays

The real power comes from nesting:

=SORT(FILTER(A2:D100, B2:B100="Active"), 4, -1)

Filter to active records, then sort by column 4 descending. One formula replaces what used to require helper columns and multiple steps.

Find Everything in Your Workbook with Object Explorer

Named ranges, charts, comments, hidden sheets — Object Explorer shows you everything in your workbook at a glance.

Try Object Explorer Free

Related Reading

Official Resources

📧

Want more Excel tips like this?

Get our free guide: 10 Excel Shortcuts Microsoft Doesn't Tell You About
Join 3,000+ Excel users boosting their productivity.

By subscribing, you agree to receive the free guide and occasional emails with Excel tips and product updates. Unsubscribe anytime. We respect your privacy.