Numbers Exercises

MAP in Apple Numbers

Last updated:

Short answer: MAP runs a LAMBDA on every value in a range and returns a new range of the same shape. Syntax: MAP(array, LAMBDA(parameter, calculation))

Explanation

MAP runs a LAMBDA on every value in a range and returns a new range of the same shape.

Syntax

MAP(array, LAMBDA(parameter, calculation))

Example

Double each price (B2:B5) with MAP and a LAMBDA, and add up the result.

Table 1
ABC
1ProductPriceQty
2Apple410
3Pear65
4Kiwi122
5Grape83

Formula: =SUM(MAP(B2:B5,LAMBDA(x,x*2)))
Result: 60

Frequently asked questions

What does MAP do in Apple Numbers?

MAP runs a LAMBDA on every value in a range and returns a new range of the same shape.

What is the syntax of MAP?

The syntax is MAP(array, LAMBDA(parameter, calculation)).

More in this category

Read more

Practise it yourself

Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.

Start practising