Skip to content
Dropfile

ARRAYFORMULA Function

Applies a formula to an entire range from a single cell in Google Sheets. Eliminates the need to copy formulas down a column — one formula handles the whole range.

Google Sheets

Синтаксис

ARRAYFORMULA(array_formula)

Параметры

ПараметрОписание
array_formulaThe formula to apply across the range. Use range references instead of single cells.

Примеры

Calculate total for every row at once

=ARRAYFORMULA(B2:B*C2:C)

Результат: Multiplies every row's B and C values, filling the entire column

Conditional labels for all rows

=ARRAYFORMULA(IF(B2:B>100, "High", "Low"))

Результат: Labels every row as High or Low based on column B

Add a prefix to every cell in a column

=ARRAYFORMULA("ID-" & A2:A)

Результат: Prepends 'ID-' to every value in column A

Советы и лучшие практики

Связанные формулы

Нужна другая формула?

Опишите, что вам нужно, обычным языком — и наш ИИ создаст формулу за вас.

Попробовать Генератор формул