MAP
Apply the same LAMBDA to each set of corresponding array values.
Syntax
=MAP(array1, [array2, …], lambda)Worked example
Apply a threefold increase to each item.
=MAP({2;4;6},LAMBDA(item,item*3))Result 6; 12; 18 (three rows)
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceMAP Function Can Do Wonders in Excel (6 Examples)
Practice MAP
Multiply each quantity in A2:A4 by the multiplier in B2 using MAP.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 |
Show example formula
=MAP(A2:A4,LAMBDA(item,item*B2)) Lesson quiz
Answer three questions to see your level in this lesson.
