Sub topic 1
What changed with dynamic arrays
Prerequisites
This chapter assumes you can:
- Enter and edit formulas in Excel.
- Read cell and range references such as
A1andA1:A10. - Tell relative references from absolute ones.
- Use basic functions such as
SUMandIF. - Use Excel for Microsoft 365 or Excel 2021 or later.
The old model: one formula, one cell
Before dynamic arrays, a formula returned one value into the one cell that held it. If a formula needed a list of results, you wrote it once and filled it down. To get several results from a single formula, you had to enter it as a legacy array formula. That meant selecting the output range first and pressing Ctrl+Shift+Enter. Excel then wrapped the formula in curly braces and fixed its size.
Excel also had a hidden rule called implicit intersection. If a formula expected one value but received a range, Excel quietly picked the single cell from that range that sat in the formula's own row or column. This kept old formulas working, but it hid what the formula was doing.
The new model: the engine returns arrays
The dynamic array calculation engine removes that restriction. Any formula can now return an array, which is a rectangular block of values. When the result has more than one value, Excel writes the values into neighboring cells on its own. This is called spilling.
Enter this in one cell:
=SEQUENCE(5)The formula returns the numbers 1 to 5. You typed it in one cell, and the values fill that cell and the four below it. You did not select a range, fill down, or press Ctrl+Shift+Enter.
The engine also treats ranges as arrays by default. In this formula, B2:B6 and C2:C6 are each arrays of five values:
=B2:B6*C2:C6Excel multiplies them row by row and returns five results, which spill down. In older versions you would write =B2*C2 and fill it down five times.
What this means in practice
- Fewer copied formulas. One formula in the top cell replaces a column of identical formulas.
- Consistent results. There is only one formula to edit, so rows cannot drift out of sync.
- Variable size. A spilled result grows or shrinks as the source data changes, with no resizing step.
- New functions. Functions such as
SEQUENCE,FILTER,SORT,SORTBYandUNIQUEexist because the engine can now return arrays. Later chapters cover them.
How older workbooks appear
When you open a workbook created in an older version, Excel keeps its behavior. If a formula could have returned several values but relied on implicit intersection, Excel adds the @ operator to show it. For example, you might see:
=@A2:A6The @ operator forces implicit intersection, so the formula returns one value instead of spilling the range. Excel inserts it only to preserve the old result. Removing it lets the formula spill, so do that only if you want the new behavior. A later chapter covers @ and legacy array formulas in full.
Common mistakes
- Expecting fixed output. A spilling formula has no set size. If another cell's content blocks the spill, Excel shows a
#SPILL!error. A later chapter explains the causes. - Typing into a spill range. Cells inside a spill range show a grayed-out formula in the formula bar. You can edit only the top cell, which holds the formula.
- Assuming everyone has the feature. A colleague on Excel 2019 or earlier sees these formulas as legacy array formulas or errors. Check versions before sharing.
Exercise
You enter =B2:B6*C2:C6 in D2 in Excel for Microsoft 365, and D3:D6 are empty. What happens, and how would the same formula have behaved before dynamic arrays?
Show answer
Excel calculates all five products and spills them into D2:D6 from the one formula in D2. Before dynamic arrays, implicit intersection would have returned a single value for the formula's own row. You would have written =B2*C2 and filled it down.