HSTACK Function
Combine arrays horizontally into one array. array1, array2 and up to 255 arrays or ranges are placed side by side; an array with fewer rows than the highest is padded with #N/A. The result spills.
Syntax
HSTACK(array1, array2)
Category: Lookup. Minimum arguments: 1. Maximum arguments: 255.
Available for supported offline calculation.
Examples
=HSTACK({1,2},{3,4})
The formula spills 1, 2, 3 and 4 in one row.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.