MAKEARRAY
Generate a rectangular result by calculating a value for every row and column position.
Syntax
=MAKEARRAY(rows, cols, lambda)Worked example
Build a two-by-three multiplication grid from position numbers.
=MAKEARRAY(2,3,LAMBDA(rowNo,colNo,rowNo*colNo))Result 1, 2, 3 / 2, 4, 6
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExcel - UNIQUE of Rectangular Range Using MAKEARRAY function in Excel - Episode 2416
Practice MAKEARRAY
Build a multiplication grid using the dimensions in row 2. Multiply the row and column positions for each result.
| A | B | |
|---|---|---|
| 1 | ||
| 2 |
Show example formula
=MAKEARRAY(A2,B2,LAMBDA(rowNo,colNo,rowNo*colNo)) Lesson quiz
Answer three questions to see your level in this lesson.
