0
0
Google Sheetsspreadsheet~10 mins

Why array formulas process ranges at once in Google Sheets - Formula Trace Breakdown

Choose your learning style9 modes available
Sample Data

Two columns of numbers to be multiplied element-wise using an array formula.

CellValue
A12
A24
A36
B13
B25
B37
Formula Trace
=ARRAYFORMULA(A1:A3 * B1:B3)
Step 1: A1:A3
Step 2: B1:B3
Step 3: [2, 4, 6] * [3, 5, 7]
Step 4: ARRAYFORMULA(A1:A3 * B1:B3)
Cell Reference Map
     A    B
  +----+----+
1 | 2  | 3  |
  +----+----+
2 | 4  | 5  |
  +----+----+
3 | 6  | 7  |
  +----+----+

References: A1:A3 and B1:B3 feed into the formula.
The formula uses two vertical ranges from columns A and B, rows 1 to 3.
Result
     A    B    C
  +----+----+----+
1 | 2  | 3  | 6  |
  +----+----+----+
2 | 4  | 5  | 20 |
  +----+----+----+
3 | 6  | 7  | 42 |
  +----+----+----+

Column C shows the results of the array formula.
The array formula in column C multiplies each pair of numbers from columns A and B, showing results 6, 20, and 42.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the ARRAYFORMULA function do with the ranges A1:A3 and B1:B3?
AIt adds all numbers in A1:A3 and B1:B3 separately.
BIt multiplies only the first numbers in each range and ignores the rest.
CIt multiplies each pair of numbers element-wise and returns all results at once.
DIt returns the sum of all numbers in both ranges combined.
Key Result
ARRAYFORMULA processes entire ranges at once, applying operations element-wise and returning arrays of results.