Excel MAP function

Applies a LAMBDA to every value in a range and returns the results in the same shape. It has the same name in Spanish Excel.

Syntax

English Excel

=MAP(array1, lambda)

Spanish Excel (Mexico)

=MAP(matriz1, lambda)

Spanish Excel (Spain, Latin America)

=MAP(matriz1; lambda)

ArgumentWhat it is
array1The range whose values are transformed.
lambdaA LAMBDA that receives each value.

Example

LAMBDA(parameter, calculation) creates your own function. MAP(range, LAMBDA(…)) applies it to every cell and returns all the results together. With LET you can name it: LET(tax, LAMBDA(p, p*1.16), tax(B2)). Excel 365 only.

=MAP(B2:B6,LAMBDA(precio,precio*(1+E2)))

Common mistake

Excel 365 only. It keeps its English name in Spanish Excel too.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice MAP

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

Your own function: LAMBDA and MAP

LAMBDA(parameter, calculation) creates your own function. MAP(range, LAMBDA(…)) applies it to every cell and returns all the results together. With LET you can name it: LET(tax, LAMBDA(p, p*1.16), tax(B2)). Excel 365 only.

Example=MAP(B2:B6,LAMBDA(precio,precio*(1+$E$2)))MAPLAMBDA

In C2, with a single formula, calculate the price with tax for every product using MAP and LAMBDA.

C2
ABCDEF
1ProductPriceWith taxTax
2Keyboard650.0016%
3Monitor3,800.00
4Mouse280.00
5Webcam1,150.00
6Speaker990.00
7

Tip: while typing, click a cell or drag across several to insert their reference. F4 anchors the reference with $.

Frequently asked questions

What is MAP called in Spanish?
It has the same name: MAP. What changes is the separator: Spanish Excel in Spain and much of Latin America separates arguments with semicolons.
Why does MAP use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common MAP mistake?
Excel 365 only. It keeps its English name in Spanish Excel too.