Skip to content

MAP

Dynamic arraysMicrosoft 365

Transform every element of one or more arrays with a LAMBDA.

Syntax

MAP(array1, [array2, …], lambda)

Examples

=MAP(A2:A100, LAMBDA(x, IF(x>0, "Cr", "Dr")))

Related functions

More Dynamic arrays functions

← All 510 functions

Syntax follows Microsoft’s documentation. Examples are written to be pasted into a cell and checked. Argument separators may be ; in your locale. The AI explainer runs on a free community model — verify anything important.