Crea un vector de les dimensions especificades, amb el valor de cada cel·la generat aplicant una fórmula.
=MAKEARRAY(nRows; nCols; Formula)
nRows: the number of rows of the resulting array.
nCols: the number of columns of the resulting array.
Formula: a formula expression or LAMBDA function that will be called on each cell of the array.
La fórmula ha de definir dues variables relacionades amb les files i les columnes de la matriu.
The formula =MAKEARRAY(5;5;LAMBDA(r;c;IF(r=c;1;0))) creates a 5x5 identity matrix (it is the same result of the function =MUNIT(5)).
The formula =MAKEARRAY(5;8;(LAMBDA(r;c;"@@@"))) creates a 5x8 array filled with the string "@@@".
The formula =MAKEARRAY(1;7;LAMBDA(r;c;c)) creates a one row array filled with numbers 1 to 7.
COM.MICROSOFT.MAKEARRAY