0 of 62
Arrays·Lesson 56 of 62ProSheets only

How to use ARRAYFORMULA in Google Sheets

One formula for a whole column

How ARRAYFORMULA works

ARRAYFORMULA runs one formula across whole ranges at once, so you don't copy it down every row. Sheets only.

ARRAYFORMULA(formula with ranges)
Example on this data
=ARRAYFORMULA(E2:E11+1)→4 9 13 3 6 5 21 2 7 8

Adds one to every unit count in one go.

What you’ll do

You’ll work out the revenue for every order with a single formula. Writing one formula for a whole column means nothing to copy down and nothing to forget.

Try it

Type =ARRAYFORMULA(E2:E11+1) into K2 and press Enter. Watch what the sheet does.

The result will appear in K2.

K2
New shortcut

Shortcut: type =E2:E11+1 and press Ctrl+Shift+Enter Mac ⌘+Shift+Enter instead of Enter. Sheets wraps it in ARRAYFORMULA for you. (Wrap the formula in ARRAYFORMULA.)

ABCDEFGHIJK
1OrderRepRegionProductUnitsPriceOrder dateShip date
21001AnaWestDesk32401/5/20261/9/2026
31002BoEastChair8851/12/20261/20/2026
41003CyWestLamp12301/19/20261/22/2026
51004DiNorthDesk22402/2/20262/13/2026
61005AnaWestChair5852/9/20262/12/2026
71006EveSouthShelf41202/16/20262/27/2026
81007BoEastLamp20303/2/20263/4/2026
91008CyWestShelf11203/9/20263/18/2026
101009DiNorthChair6853/16/20263/19/2026
111010EveSouthDesk72403/23/20264/1/2026
Ctrl+/ shows the shortcuts