Contact

VSTACK Function in Google Sheets: Syntax, Examples & Compatibility

Array Intermediate Google Sheets

Learn how to append rows from two tables into one expanding result in Google Sheets. Includes syntax, two verified-by-reasoning results, troubleshooting and portability notes.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: append rows from two tables into one expanding result in Google Sheets. The reproducible examples below use explicit values so the formula’s meaning is testable without a large workbook.

Evidence: The function name and syntax are documented in the linked vendor function reference. Expected outputs were independently reasoned or checked outside the application. These are not native Google Sheets test results. A guide being published here does not certify every software release or file-import scenario.

Availability and version history

  • Introduced: Announced February 1, 2023; rollout paused February 22, resumed March 1, with access scheduled by March 14. These are service rollout dates, not desktop versions. Google release history.
  • Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
  • Checked: October 14, 2026; official VSTACK reference. Documentation check, not a new native test; existing example-verification notes retain their scope.

Syntax and arguments

=VSTACK(array1, [array2], ...)

Supply one or more ranges. The first is required; each additional range is appended below it. The examples keep column widths and meanings aligned.

Best use case: Append rows from two tables into one expanding result.

Set up the example sheet

Enter A2=Pen, B2=12, A3=Pad, B3=5, A5=Box, and B5=7. Leave a three-row by two-column output area empty for each original example.

Enter the formula in an unused cell. For a formula returning several values, leave an unobstructed area where those values can expand. These formulas use comma argument separators in a typical English-language locale; commas or semicolons inside quoted text are data, not argument separators. Adapt the separator if your regional settings require it.

Worked example 1: VSTACK with known input

=VSTACK(A2:B3,A5:B5)

Expected output: three rows: Pen,12 / Pad,5 / Box,7.

Two records from the first block are followed by the record from the second block.

Worked example 2: a second VSTACK case

=VSTACK(A5:B5,A2:B3)

Expected output: three rows: Box,7 / Pen,12 / Pad,5.

The order of arguments sets the row order of the result.

Compare both results before replacing literal values or short sample ranges with your own workbook data. For a spilling formula, compare every output cell, not only the top-left result.

Advanced example: keep one explicit heading row

Add A1=Item and B1=Units above the original two records. In a separate empty four-row by two-column region enter:

=VSTACK(A1:B3,A5:B5)

The expected output is Item,Units / Pen,12 / Pad,5 / Box,7. The heading appears because A1:B1 is part of the first argument. VSTACK does not create a heading automatically. If the later source had its own heading, exclude that row when you want a single clean table header.

One range is sufficient: =VSTACK(A2:B3) returns Pen,12 / Pad,5. Align the meaning of columns before adding more ranges; the function appends by position rather than looking up column names.

Practical advice and troubleshooting

When this formula helps: To combine data from several monthly tables, standardize the column order before stacking them.

Important edge case: The reviewed Google reference does not specify unequal-width padding. These examples use equal widths; inspect headers and confirm any unequal-width behavior separately.

If the result differs, first verify the text-versus-number types of the input cells, the argument separators for your locale, and the range size. For dynamic arrays, inspect occupied cells in the output area. After importing a file, check function names and the destination application’s support as well as the input data.

Compatibility and version considerations

Google Sheets and modern Excel support the same broad task, but older spreadsheet versions may require manual append or Power Query.

VSTACK is included in Microsoft 365/Excel 2024 and current Google Sheets; it is not broadly backward-compatible.

Function availability and parameter behavior must be judged for the specific application and release; a function documented in one spreadsheet does not automatically work in another.

Editorial verification: Direct function documentation reviewed October 14, 2026. The two example outputs are independently reasoned; no native application run, screenshot, or version-specific output is claimed. Review the editorial testing standards if you require stronger proof before importing a workbook.