Google Sheets function

ARRAYFORMULA function in Google Sheets

ARRAYFORMULA in Google Sheets displays values from an array formula across multiple rows or columns and lets some non-array functions work with arrays. Its argument can be a range, an expression using equally sized ranges, or a function that returns more than one cell.

Source: Google Docs Editors HelpLast verified Nov 5, 2026

Syntax

=ARRAYFORMULA(array_formula)

Arguments

ArgumentRequiredWhat it means
array_formulaYesA range, an expression using same-sized ranges, or a function that returns multiple cells.

Examples

Calculate line totals

AB
1QtyPrice
2210
357
438
=ARRAYFORMULA(A2:A4*B2:B4)

Result: 20; 35; 24

The expression multiplies each quantity by the price on the same row and spills three results.

Common mistakes

Using ranges with different sizes in one expression.

Use ranges with matching row and column dimensions.

Placing values in cells where the array result needs to expand.

Clear the output area so the result can fill neighboring cells.