Sample Data
Two columns of numbers to be multiplied element-wise using an array formula.
| Cell | Value |
|---|---|
| A1 | 2 |
| A2 | 4 |
| A3 | 6 |
| B1 | 3 |
| B2 | 5 |
| B3 | 7 |
Two columns of numbers to be multiplied element-wise using an array formula.
| Cell | Value |
|---|---|
| A1 | 2 |
| A2 | 4 |
| A3 | 6 |
| B1 | 3 |
| B2 | 5 |
| B3 | 7 |
=ARRAYFORMULA(A1:A3 * B1:B3)A B +----+----+ 1 | 2 | 3 | +----+----+ 2 | 4 | 5 | +----+----+ 3 | 6 | 7 | +----+----+ References: A1:A3 and B1:B3 feed into the formula.
A B C +----+----+----+ 1 | 2 | 3 | 6 | +----+----+----+ 2 | 4 | 5 | 20 | +----+----+----+ 3 | 6 | 7 | 42 | +----+----+----+ Column C shows the results of the array formula.