Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
EXPAND grows an array to specified dimensions, filling any added rows or columns with a pad value you choose (defaulting to #N/A). It is useful when you need all arrays in a calculation to be the same size before combining them with functions like HSTACK or VSTACK. Available in Excel 365 and Google Sheets.
=EXPAND(A2:B3,4,2,0)=EXPAND(A2:B3,4,2,0)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: “Pad a small 2x2 range out to 4 rows keeping 2 columns and filling extras with zero”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: