FormulaCraft

MAKEARRAY

MAKEARRAY builds a two-dimensional array with a given number of rows and columns, calling a LAMBDA with the current row and column index for each cell. Use it to generate multiplication tables, sequential grids, or any computed matrix without entering values manually.

Topic:SaaS metrics
Excel
=MAKEARRAY(3, 3, LAMBDA(r, c, r*c))
Google Sheets
=MAKEARRAY(3, 3, LAMBDA(r, c, r*c))

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1Specify the number of rows and columns the output array should have.
  2. 2Write a LAMBDA with two parameters (row index and column index) that returns the desired value for each position.
  3. 3The formula spills a rows-by-columns array starting from the cell where you enter it.

Need a version for your data?

Try: “Generate a 5x5 multiplication table automatically with a formula

More on SaaS metrics

See all →

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: