What is MAKEARRAY in Google Sheets?

MAKEARRAY creates a grid of specified height and width, computing each cell with a LAMBDA that receives row and column indexes. It builds lookup tables, sensitivity matrices, and coordinate-driven templates without manual fill.

When to use it

Use MAKEARRAY when each cell depends on its row and column index, such as times tables or scenario grids.

When to skip it

Skip MAKEARRAY for a simple sequential list. SEQUENCE or ROW/COLUMN combos are lighter.

How it works

  1. 1

    Set row count and column count for the output matrix.

  2. 2

    Write LAMBDA(row_index, col_index, formula) using 1-based indexes.

  3. 3

    Return the cell value from the LAMBDA for that position.

  4. 4

    Let the result spill as a block with room on the sheet.

  5. 5

    Combine with XLOOKUP inputs on edges for two-way lookup tables.

  6. 6

    Keep LAMBDA bodies fast because rows times columns calls add up.

Examples in Google Sheets

Multiplication table

=MAKEARRAY(12, 12, LAMBDA(r, c, r*c)) fills a times table in one formula.

Coordinate labels

=MAKEARRAY(5, 3, LAMBDA(r, c, "R"&r&"C"&c)) prints grid addresses for a layout mock.

Fee schedule

=MAKEARRAY(10, 4, LAMBDA(r, c, INDEX(fee_row, c)*r)) builds fees by tier column and volume row.

Build this without starting from a blank cell

Use a Better Sheets tool for MAKEARRAY, then watch a walkthrough when you want the full pattern.

Better Sheets resources

Common mistakes

  • Using MAKEARRAY for one column when SEQUENCE suffices.
  • Heavy external references inside LAMBDA called hundreds of times.
  • Off-by-one errors with 1-based row and column indexes.
  • Placing spill over merged cells or existing charts.
  • Expecting MAKEARRAY to read existing grid values without INDEX lookups.

Frequently asked questions

MAKEARRAY vs SEQUENCE?
SEQUENCE fills simple sequences. MAKEARRAY computes each cell from row and column index.
Index start at 1?
Yes. Row and column parameters begin at one in standard use.
MAKEARRAY size limits?
Very large grids are slow and may hit spill limits. Test size first.
MAKEARRAY and LAMBDA?
MAKEARRAY requires a LAMBDA as the third argument.
Can cells reference sheet data?
Yes via INDEX or OFFSET inside the LAMBDA using r and c.
MAKEARRAY errors?
Often blocked spill or invalid LAMBDA return type.
MAKEARRAY vs manual table?
MAKEARRAY stays dynamic when inputs or dimensions change.

Related Tutorials

Watch how MAKEARRAY works

Browse more tutorials
Spreadsheet Automation 101 Lesson 2: Arrays

Spreadsheet Automation 101 Lesson 2: Arrays

Learn the basics of Arrays – how to create one, how to reference rows an...
MAKE Your Google Sheets Add-on WORK

MAKE Your Google Sheets Add-on WORK

In this section of the Add-on course we'll be making the apps script wor...

Related blog posts

Guides that explain MAKEARRAY in more depth.

Browse the blog

Related glossary terms

Done reading about MAKEARRAY?

Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.