EXPAND
Pad an array to a larger height or width with a chosen fill value.
Syntax
=Expand(array, rows, [columns], [pad_with])Worked example
Pad a one-row input with a second row of zeros.
=EXPAND({2,4},2,2,0)Result 2, 4 / 0, 0
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceNew excel EXPAND function
Practice EXPAND
Pad a one-row input with a second row of zeros.
| A | B | C | |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 |
Show example formula
=EXPAND(B2:C2,B3,B4,B5) Lesson quiz
Answer three questions to see your level in this lesson.
