You are on page 1of 4

8/8/23, 2:44 PM Array Manipulation Functions in Excel (In Easy Steps)

Excel Easy
#1 Excel tutorial on the net

xcel Introduction Basics Functions Data Analysis VBA 300 Examples Ask us

Array Manipulation Search Entire Site

Go
VSTACK | HSTACK | TOROW | TOCOL | WRAPROWS | WRAPCOLS
Chapter
| TAKE | CHOOSEROWS
Array Formulas
Use the new array manipulation functions in Excel 365 to quickly
combine, shape and resize arrays.
Learn more, it's
VSTACK
The VSTACK function in Excel 365 vertically stacks multiple arrays into a easy
Count Errors

single array. Count Unique Values

Count with Or Criteria

Sum Every Nth Row

Sum Largest Numbers

Sum Range with Errors

Sum with Or Criteria

Most Frequently
Note: the VSTACK function, entered into cell B5, fills multiple cells. This
Occurring Word
behavior is called spilling.

Dynamic Arrays
HSTACK
The HSTACK function in Excel 365 horizontally stacks multiple arrays LET function
into a single array.
Array Manipulation

Lambda

Download Excel
File
array-manipulation.xlsx

Next Chapter
Sort
TOROW
https://www.excel-easy.com/examples/array-manipulation.html 1/4
8/8/23, 2:44 PM Array Manipulation Functions in Excel (In Easy Steps)

The TOROW function in Excel 365 converts a 2D array into a single row.
Follow Excel
Easy

Become an Excel
Pro
300 Examples

TOCOL
The TOCOL function in Excel 365 converts a 2D array into a single
column.

WRAPROWS
The WRAPROWS function converts a 1D array into a 2D array.
WRAPROWS starts a new row after a specified number of elements
(second argument).

WRAPCOLS
The WRAPCOLS function converts a 1D array into a 2D array.
WRAPCOLS starts a new column after a specified number of elements
(second argument).

https://www.excel-easy.com/examples/array-manipulation.html 2/4
8/8/23, 2:44 PM Array Manipulation Functions in Excel (In Easy Steps)

TAKE
The TAKE function extracts a subset of an array. You can start in each
corner by using positive and negative arguments.

1. The TAKE function below extracts a 4 by 2 array (starting in the


upper-left corner).

2. The TAKE function below extracts a 3 by 1 array (starting in the


bottom-right corner).

CHOOSEROWS
The CHOOSEROWS function in Excel 365 returns specific rows from an
array. The CHOOSEROWS function below returns the 3rd and the 5th
row from an array.

https://www.excel-easy.com/examples/array-manipulation.html 3/4
8/8/23, 2:44 PM Array Manipulation Functions in Excel (In Easy Steps)

Note: use CHOOSECOLS to return specific columns from an array. For


example, download the Excel file and try to return the 2nd column
from this array. Practice makes perfect!

12/13 Completed! Learn much more about array formulas >


Go to Next Chapter: Sort

Array Manipulation • © 2010-2023


Popular Excel Topics: Pivot Tables • Vlookup • Formulas • Charts • Conditional Formatting

https://www.excel-easy.com/examples/array-manipulation.html 4/4

You might also like