LogicalExcel 2024

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 reference

Search ExcelTutor