FormulaCamp
Completed
← All functions
Dynamic arrays

VSTACK

Arrays stacked on top of each other.

Syntax

VSTACK(array1, array2, …)

Example: =VSTACK(January!A2:C50,February!A2:C50)

Available in: Excel 2024, Microsoft 365

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =VSTACK(A2:B3,A6:B7)

Example spreadsheet for VSTACK
ABCDEFG
1RegionProductUnitsPriceResult
2EastPen1202.5EastPen
3WestPen802.5WestPen
4EastBook4512WestLamp
5NorthBook6012EastLamp
6WestLamp3025
7EastLamp1525
Result in F2: East
Practice this in a lesson: TAKE, DROP, CHOOSECOLS, VSTACK

More in Dynamic arrays