Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
HSTACK places arrays side by side horizontally, appending each subsequent array to the right of the previous one to form a single wider array. All arrays must have the same number of rows, or missing cells are filled with errors. It is an Excel 365 and Google Sheets dynamic array function useful for merging columns from different ranges.
=HSTACK(A2:A4,C2:C4)=HSTACK(A2:A4,C2:C4)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need a version for your data?
Try: “Merge two separate columns from my sheet into a single side-by-side array”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: