Excel LET function

Names parts of a formula so calculations are not repeated and it reads clearly. It has the same name in Spanish Excel.

Syntax

English Excel

=LET(name1, name_value1, calculation_or_name2, …)

Spanish Excel (Mexico)

=LET(nombre1, valor_nombre1, cálculo_o_nombre2, …)

Spanish Excel (Spain, Latin America)

=LET(nombre1; valor_nombre1; cálculo_o_nombre2; …)

ArgumentWhat it is
name1A name for a value.
name_value1The value or calculation it holds.
calculation_or_name2More names and, last, the calculation using them.

Example

LET(name, value, …, calculation) names parts of a formula, so you do not repeat the same calculation and the formula reads like a sentence. The last argument is the result.

=LET(VENTA,B2,IF(VENTA>50000,VENTA*0.05,VENTA*0.02))

Common mistake

Excel 365 and 2021 only. Names cannot look like cells: "A1" or "x1" will not work.

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 LET

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

LET

LET(name, value, …, calculation) names parts of a formula, so you do not repeat the same calculation and the formula reads like a sentence. The last argument is the result.

Example=LET(VENTA,B2,IF(VENTA>50000,VENTA*0.05,VENTA*0.02))LET

In C2, calculate the commission: 5% if the sale is over 50,000, 2% otherwise. Use LET to name the sale.

C2
ABCD
1SalespersonSalesCommission
2Carmen48,200
3Jorge35,900
4Lucía61,750
5Andrés29,400
6Paola52,300
7Ricardo44,100
8Elena38,650
9Mateo57,900
10

Tip: while typing, click a cell or drag across several to insert their reference.

Frequently asked questions

What is LET called in Spanish?
It has the same name: LET. What changes is the separator: Spanish Excel in Spain and much of Latin America separates arguments with semicolons.
Why does LET 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 LET mistake?
Excel 365 and 2021 only. Names cannot look like cells: "A1" or "x1" will not work.