[]
The function appends arrays horizontally and in sequence to return a larger array.
=HSTACK(array1,[array2],...)
The function has the following arguments:
Argument | Description |
---|---|
array | The array to append. |
The function returns the array formed by appending each of the array arguments in a column-wise fashion. The resulting array will be as follows:
Rows: The maximum of the row count from each of the array arguments.
Columns: The combined count of all the columns from each of the array arguments.
The function returns an array, the type of each value in the array depends on the parameter.
This function is available in product version 16.0 or later.
!type=note
Note: The HSTACK function is only available in Beta Insiders builds of Excel for Office 365 currently. Hence, without the Beta Insiders build you cannot import/export the XLSX using this function from/to Excel.