In this article:

VSTACK in Google Sheets (Easiest Way to Use It in 2024)

March 19, 2024

VSTACK in Google Sheets 

VSTACK in Google Sheets is a function designed to vertically stack the content of multiple ranges or arrays into a single column. This function is particularly useful when you need to consolidate data from different areas of a spreadsheet or from different sheets without having to manually copy and paste the information into a single column.

Syntax

The general syntax of the VSTACK function is as follows:

=VSTACK(range1, [range2, ...])

  • range1, range2, ... are the ranges or arrays that you want to combine. You can include as many ranges as you need, and they don't have to be of the same size. VSTACK will stack them in the order they are listed in the function.

Using Google Sheets VSTACK

Follow the steps below to easily use VSTACK in Google Sheets. 

1. Determine Data Ranges to Stack Vertically

Determine which sets of data you wish to stack vertically. In our example, we're using two sets: fruits in A2:A5 and vegetables in B2:B4.

vstack google sheets

2. Choose Output Cell for Combined Data

Choose the cell where you want the combined data to start. This will be where the first value from your stacked data appears.

google sheets vstack

3. Input VSTACK Formula with Specific Data Ranges

Type =VSTACK(A2:A5, B2:B4) into the formula bar, referencing our example data ranges. This formula combines the fruit and vegetable lists.

vstack in google sheets

4. Press Enter to Stack Data Vertically

Press Enter. The data from A2:A5 and B2:B4 will stack vertically, starting from the cell where you entered the formula.

5. Edit Formula for Additional Data or Corrections

If you need to include more data or adjust the ranges, edit the formula directly. Add more ranges by inserting a comma and the additional range.

6. Verify Correct Stacking of Data in Column

Scroll through the column to check that all your data from both ranges are correctly stacked, displaying fruits followed by vegetables.

We hope that you now have a better understanding of what VSTACK is in Google Sheets and how to use Google Sheets VSTACK. If you enjoyed this article, you might also like our article on how to insert video in Google Sheets or our article on how to insert page numbers in Google Sheets.

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.
Get your copy of our free Google Sheets automation guide!
  • 27 pages of Google Sheets tips and tricks to save time
  • Covers pivot tables and other advanced topics
  • 100% free

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->