Numbers Exercises

HSTACK in Apple Numbers

Last updated:

Short answer: HSTACK places ranges side by side into one array. Syntax: HSTACK(array, array, …)

Explanation

HSTACK places ranges side by side into one array. It is the horizontal sibling of VSTACK.

Syntax

HSTACK(array, array, …)

Example

Place A2:A5 and B2:B5 side by side. How many columns does the result have?

Table 1
ABC
1ProductPriceQty
2Apple410
3Pear65
4Kiwi122
5Grape83

Formula: =COLUMNS(HSTACK(A2:A5,B2:B5))
Result: 2

Frequently asked questions

What does HSTACK do in Apple Numbers?

HSTACK places ranges side by side into one array. It is the horizontal sibling of VSTACK.

What is the syntax of HSTACK?

The syntax is HSTACK(array, array, …).

More in this category

Practise it yourself

Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.

Start practising