Zoho Sheet MAKEARRAY: Generate a grid from row and column indices
Build explicit-size arrays with MAKEARRAY and LAMBDA in Zoho Sheet, with independently checked coordinate grids and clear output dimensions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =MAKEARRAY(2;3;LAMBDA(r;c;r*c)) describes a two-row, three-column multiplication grid: first row 1, 2, 3, second row 2, 4, 6. Each output depends on its row and column position.
Syntax and index order
=MAKEARRAY(rows; columns; LAMBDA(row_parameter; column_parameter; calculation))
Rows and columns specify the result’s dimensions. The LAMBDA has two position parameters, row first and column second, followed by the expression to calculate. Zoho’s documented examples include a 2×3 multiplication grid and a 3×3 grid divided by two. Official MAKEARRAY reference.
Use positive whole-number dimensions in these examples. The symbols r and c are local parameter names, not worksheet cell references. Their role follows their order: renaming them does not swap the grid axes. The independent grids below use one-based positions, so the upper-left position is row 1, column 1. Zoho’s published demonstration, inspected read-only on October 18, 2026, displays the complete 2×3 multiplication result shown below and the 3×3 half-product grid. These vendor examples support that index origin; they are separate from an authored runtime test.
Worked example: a multiplication grid
- Choose an empty area with at least two rows and three columns available.
- Enter
=MAKEARRAY(2;3;LAMBDA(r;c;r*c))in the intended result area. - Compare the mathematical result with this complete grid:
| Result row | Column 1 | Column 2 | Column 3 |
|---|---|---|---|
| 1 | 1 | 2 | 3 |
| 2 | 2 | 4 | 6 |
At position (2,3), the expression is 2*3 = 6. The output contains six values; it is not a single sum of those values. Changing the dimensions to 3×2 would change the shape, even though multiplication gives some repeated values.
These are documentation-based array expectations and independent arithmetic. Native array-entry gestures, automatic expansion, blocked-output handling and shortcut requirements have not been tested in Zoho for this guide. Do not overwrite existing data merely to make room for an example.
Use labels to expose orientation mistakes
A multiplication table is symmetric in its two inputs, which can conceal an accidental swap. Use this second example to make orientation visible:
=MAKEARRAY(2;3;LAMBDA(r;c;10*r+c))
The independent result is:
| Result row | Column 1 | Column 2 | Column 3 |
|---|---|---|---|
| 1 | 11 | 12 | 13 |
| 2 | 21 | 22 | 23 |
Moving right increases the value by one; moving down increases it by ten. If your intended labels instead increase by ten across columns, change the expression deliberately rather than changing the meaning of the first parameter.
Practical use: construct numbered scenarios
To produce a 3×2 row-by-row sequence, use:
=MAKEARRAY(3;2;LAMBDA(r;c;(r-1)*2+c))
The expected rows are 1,2, 3,4, and 5,6. The factor 2 is the number of columns. If you change the width, change that factor too; leaving it at 2 in a three-column grid creates duplicate labels between rows.
A one-row parameter grid can use =MAKEARRAY(1;3;LAMBDA(r;c;100+5*(c-1))), giving 100,105,110. The row parameter is still present even though this particular calculation only needs the column position. These constructions are useful for repeatable test grids or scenario labels without manually typing each cell.
For the official second expression, =MAKEARRAY(3;3;LAMBDA(r;c;r*c/2)), independent arithmetic gives rows 0.5,1,1.5, 1,2,3, and 1.5,3,4.5. Fractional results are distinct from fractional dimensions.
Errors and boundaries
Zoho lists #NUM! for an array that is too large, but the cited article does not specify a numeric maximum. It also lists invalid data types and references in its error table. Do not infer a maximum dimension, fractional-dimension rounding rule, zero-size behavior or nested-array support from these small examples. MAKEARRAY errors.
Check dimensions, parameter order and the body expression separately. MAP transforms supplied values, while MAKEARRAY generates positions from dimensions. LAMBDA explains the reusable calculation itself. Neither related function is an alias for MAKEARRAY.
Availability and evidence scope
The rolling official help was checked October 18, 2026. These output grids are independently calculated expectations; no authored Zoho workbook was executed. The sources do not establish an introduction release, mobile parity or historical retirement status. Array behavior in another spreadsheet does not establish Zoho’s entry or display behavior.