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

May 8, 2024

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.

### 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.

### 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.

### 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.

### 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