wJVKF‖HSTACK function

Contents
ki2vF‖

# LBtai‖HSTACK

BM4on‖Appends arrays horizontally to create a larger array.

iZ2w7‖Enter the formula as an array formula. Hint: enter formula using keys Ctrl + Shift + Enter.

### ebLBc‖Syntax

DRtwE‖=HSTACK(Array [; Array_1 [; Array_2;[...]]])

eT93L‖Array: The first array to be returned in a new array.

igZ74‖Array_1; Array_2; ...: (optional) the arrays to append sequentially after the previous array.

s37P8‖Any of the optional arguments can be omitted. An optional argument requires all preceding separators to be present.

### GAZG2‖Examples

KAvDE‖Consider the array A1:E3 below:

| A | B | C | D | E
--- | --- | --- | --- | --- | ---
1 | AAA | BBB | CCC | DDD | EEE
2 | FFF |  |  | III | JJJ
3 | KKK | LLL | MMM | NNN | OOO

dNM4K‖And the second array as:

| sG2zy‖N | y4i8s‖O
--- | --- | ---
15 | PPP | QQQ
16 | RRR | SSS
17 | TTT | UUU
18 | VVV | WWW
19 | XXX | YYY

4ZNv6‖The formula {=HSTACK(A1:E3;N15:O19)} returns the array below, with data of array N15:O19 on the right of the data of array A1:E3, and extra cells filled with #N/A error:

AAA | BBB | CCC | DDD | EEE | PPP | QQQ
FFF |  |  | III | JJJ | RRR | SSS
KKK | LLL | MMM | NNN | OOO | TTT | UUU
#N/A | #N/A | #N/A | #N/A | #N/A | VVV | WWW
#N/A | #N/A | #N/A | #N/A | #N/A | XXX | YYY

#### XAFa7‖Technical information

QgTYx‖This function is available since LibreOffice 25.8.

2C7vt‖This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.HSTACK

Related Topics

TOCOL

TOROW

WRAPCOLS

WRAPROWS

CHOOSEROWS

CHOOSECOLS

VSTACK

EXPAND

DROP

TAKE

uCzt3‖HSTACK wiki page.

Please support us!