Excel VSTACK function
Stacks ranges one below the other in a single result. In Spanish Excel it is called APILARV.
Syntax
English Excel
=VSTACK(array1, [array2], …)
Spanish Excel (Mexico)
=APILARV(matriz1, [matriz2], …)
Spanish Excel (Spain, Latin America)
=APILARV(matriz1; [matriz2]; …)
| Argument | What it is |
|---|---|
| array1 | The first range. |
| array2optional | More ranges, one below the other. |
Example
VSTACK(range1, range2…) stacks ranges one below the other in a single result: combine two branches’ lists without copying and pasting.
=VSTACK(A2:B5,D2:E4)
Common mistake
Excel 365 only. If ranges differ in width, the gaps fill with #N/A.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice VSTACK
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
VSTACK
VSTACK(range1, range2…) stacks ranges one below the other in a single result: combine two branches’ lists without copying and pasting.
In G2, combine both branches’ sales into one list (North first, then South).
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | North branch | Sale | South branch | Sale | All | ||||
| 2 | Carmen | 18,500 | Paola | 17,800 | |||||
| 3 | Jorge | 4,200 | Ricardo | 6,400 | |||||
| 4 | Lucía | 3,900 | Elena | 5,900 | |||||
| 5 | Andrés | 21,000 | |||||||
| 6 | |||||||||
| 7 | |||||||||
| 8 | |||||||||
| 9 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is VSTACK called in Spanish?
- In Spanish Excel it is APILARV. The formula =VSTACK(A2:B5,D2:E4) is written =APILARV(A2:B5;D2:E4) (or with commas in Mexico).
- Why does VSTACK use semicolons in some Excel versions?
- It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
- What is the most common VSTACK mistake?
- Excel 365 only. If ranges differ in width, the gaps fill with #N/A.