Contact

Zoho Sheet MAP: Apply a calculation to matching array elements

Spreadsheet Intermediate Zoho Sheet

Use MAP and LAMBDA in Zoho Sheet with one or more input arrays, matching parameters and complete element-by-element examples.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: with A2:A4 containing 2,4,6, =MAP(A2:A4;LAMBDA(x;x+1)) describes the output column 3,5,7. MAP applies the calculation to individual elements; it does not automatically reduce the entire range to one value.

Syntax and parameter matching

=MAP(array1; [array2; ...]; LAMBDA(parameter1; [parameter2; ...]; calculation))

The last argument must be the LAMBDA, with one parameter for each supplied array. Zoho illustrates one-, two- and three-array forms. Official MAP reference.

Parameter order follows array order. For two inputs, the first parameter receives the corresponding value from array1, and the second from array2. Use matching-size ranges in these examples; their alignment is part of the input, not something to repair by silently dropping rows.

Enter a complete three-column dataset

In a fresh worksheet, enter these numeric values:

Row A: quantity B: unit amount C: adjustment
2 2 10 1
3 4 20 −1
4 6 30 2

Keep the result area separate from A2:C4. First enter =MAP(A2:A4;LAMBDA(x;x+1)). Independent element arithmetic gives 3,5,7, as a three-row, one-column array. For row 3 the calculation uses A3=4, so the second output is 5.

These are expected array values from the documented contract and independent arithmetic. The guide does not establish Zoho’s native array-entry shortcut, automatic expansion or behavior when the destination is occupied.

Pair two arrays by position

Use:

=MAP(A2:A4;B2:B4;LAMBDA(x;y;x+y))

The independent output column is 12,24,36. It combines A2 with B2, A3 with B3, and A4 with B4. It does not calculate every possible pair of quantities and amounts, and it does not produce a 3×3 Cartesian grid.

This distinction matters if one list is sorted separately: the formula can still have a plausible shape while combining the wrong records. Keep associated columns together when arranging the input table, or use a deliberate key-based lookup before applying the elementwise calculation.

Practical use: row-level amounts with adjustments

With all three arrays, enter:

=MAP(A2:A4;B2:B4;C2:C4;LAMBDA(x;y;z;x*y+z))

The independent output is:

Source row Calculation Result
2 2×10+1 21
3 4×20−1 79
4 6×30+2 182

The three values total 282 by separate addition. MAP itself returns the row-level amounts, not that total. Keeping intermediate amounts visible makes it easier to identify a wrong adjustment or unit amount than looking only at an aggregate.

For a one-array nonlinear example, =MAP(A2:A4;LAMBDA(x;x*x)) gives 4,16,36. Squaring each element differs from squaring the sum: (2+4+6)^2 = 144, while the three squares total 56. Select the calculation according to the question you actually want to answer.

Diagnose parameter and shape problems

=MAP(A2:A4;B2:B4;LAMBDA(x;x+1)) supplies two arrays but only one parameter. Zoho documents #VALUE! for an invalid LAMBDA or incorrect number of parameters. Add the missing parameter or remove the unused input array; do not assume the second range is ignored. The help also lists #NUM! for an array that is too large without specifying a maximum. Official MAP errors.

The cited examples do not settle mismatched range dimensions, blank/text coercion, nested-array returns or exact output-placement errors. Keep inputs numeric and equally sized when reproducing this guide. A LAMBDA body that returns one scalar per element is sufficient for all shown examples.

MAKEARRAY constructs values from positions instead of transforming existing ranges. LAMBDA describes parameterized calculations, and LET can name intermediate expressions. They answer related but distinct questions.

Availability and evidence scope

Official rolling documentation was checked October 18, 2026. All worked arrays are independent expectations; no authored Zoho execution or screenshot is claimed. First release, mobile equivalence and historical lifecycle are not established by the cited article. Do not infer Zoho’s UI or coercion behavior from another application’s MAP function.