=MAP(array1, [array2], lambda)
=MAP({1,2,3},LAMBDA(a,a+1))
The MAP function can be used to apply a formula to every value in an array. For example, this formula adds one to each value of the array {1,2,3}, and returns {2,3,4}. This is a useful way to apply a formula to a range of values quickly and easily.
=MAP(A1:A5,LAMBDA(a,a*2))
The MAP function can also be used to apply a formula to a range of cells. For example, this formula multiplies each value in the range A1:A5 by two, and returns the resulting array. This can be a useful way to transform a range of values quickly and easily.
=MAP({1,2,3},{4,5,6},LAMBDA(a,b,a+b))
The MAP function can also be used to combine two arrays. For example, this formula adds each value in the first array to the corresponding value in the second array, and returns {5,7,9}. This can be a useful way to combine two arrays quickly and easily.
=MAP({1,2,3},{4,5,6},{7,8,9},LAMBDA(a,b,c,a+b+c))
The MAP function can also be used to perform calculations on multiple arrays, like the example above.
The MAP function provides an easy way to visualize data. It can be used to show values or categories through variations of colors or by different colors. This makes it a useful tool to quickly analyze data.