MAP Function
Apply a LAMBDA function to each value of one or more arrays and return the results as an array of the same size. The arrays come first and the LAMBDA last, with one parameter for each array, so MAP({1,2},{10,20},LAMBDA(a,b,a+b)) returns 11 and 22. A last argument that is not a LAMBDA, or a LAMBDA whose number of parameters differs from the number of arrays, returns #VALUE!.
Syntax
MAP(array_or_initial, array_or_lambda, lambda)
Category: Logical. Minimum arguments: 2. Maximum arguments: 255.
Available for supported offline calculation.
Examples
=MAP({1,2,3},LAMBDA(x,x*2))
The formula returns 2, 4 and 6 in three cells of a row.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.