How to use ARRAYFORMULA in Google Sheets (basics)

Updated · DeskHowTo

In Google Sheets (verified 2026-10-24), wrap an expression in =ARRAYFORMULA(...) so it calculates down a whole range from a single cell — for example =ARRAYFORMULA(A2:A*B2:B) to multiply two columns.

Press Ctrl+Shift+Enter (Windows/ChromeOS) or Cmd+Shift+Enter (Mac) while editing to auto-wrap ARRAYFORMULA. Clear cells below so results can spill; a blocked cell causes #REF!.

Jump to

Works in Google Sheets in the browser and mobile (formulas calculate in the cloud). Many newer functions already spill without ARRAYFORMULA; you still need it for classic non-array functions applied to ranges.

Write a column-filling ARRAYFORMULA

Multiply two columns

  1. In C2 enter =ARRAYFORMULA(IF(A2:A="",,A2:A*B2:B)).
  2. Press Enter — products fill down for every non-blank A row.
  3. Leave C3 and below empty so the array can expand.

Auto-wrap with the shortcut

  1. Type a range expression such as =A2:A&" "&B2:B.
  2. Press Ctrl+Shift+Enter (Cmd+Shift+Enter on Mac).
  3. Sheets inserts ARRAYFORMULA(...) for you.

Keep it maintainable

  1. Prefer open ranges (A2:A) over thousands of prefilled copies of one formula.
  2. Wrap with IF to suppress zeros on blank rows.
  3. Document the formula in a note — teammates often overwrite spill cells.

Our take: one cell to rule the column

ARRAYFORMULA cuts copy-drag mistakes. Prefer it for ETL-style sheets; use plain spills (FILTER, UNIQUE, modern array engines) when they already expand alone.

If it fails

  • #REF!: something is blocking the spill range — clear cells below/right.
  • #VALUE!: mismatched range sizes inside the formula.
  • Trailing zeros: add IF(A2:A="",, …) to skip blank keys.
  • Exported oddly: array formulas may not export to all formats — values-paste a snapshot if needed.

Frequently asked questions

What does ARRAYFORMULA do in Google Sheets?

It lets one formula return results across multiple rows or columns.

Do I always need ARRAYFORMULA?

No — many functions already spill. Use it when applying non-array functions to ranges.

What is the ARRAYFORMULA keyboard shortcut?

Ctrl+Shift+Enter (Windows/ChromeOS) or Cmd+Shift+Enter (Mac) while editing a formula.

ARRAYFORMULA vs dragging a formula down?

ARRAYFORMULA lives in one cell and stays consistent; dragged formulas can drift or break when rows insert.

Can ARRAYFORMULA work across sheets?

Yes — reference ranges like Sheet2!A2:A inside the formula.

Sources checked: Google Docs Editors Help: ARRAYFORMULA. Verified October 2026.