
Dynamic ArrayLevel: ExpertAvailable in: Excel 365 / 2021+
In this article
- Syntax
- Examples
- Example 1
- Related functions
EXPAND pads an array to a given number of rows and columns — handy before VSTACK when pieces have different widths.
Syntax
=EXPAND(array, rows, [columns], [pad_with])
| Argument |
What it means |
pad_with |
Value for new cells; default #N/A. |
Examples
Example 1
=VSTACK(A1:D10, EXPAND(F1:G5, , 4, ""))
Stack a 2-column block under a 4-column one without #N/A.
VSTACK · HSTACK
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong