The Excel LET function assigns names to values or calculations inside a formula, then uses those names in a final result — making long formulas readable and faster by computing each piece only once.
Syntax
| Argument | Description | |
|---|---|---|
name1 | Required | The name for the first value or calculation. |
value1 | Required | The value or expression assigned to name1. |
name2, value2, ... | Optional | Additional name/value pairs. Later names can reference earlier ones. |
calculation | Required | The final expression that uses the names and produces the result. |
How to use it
LET takes pairs of name and value, finishing with a calculation that uses those names. It reads like defining variables before the math.
Beyond readability, LET is a performance win: a calculation named once is evaluated once, even if the name is used many times in the final expression. Compare a sprawling formula that repeats FILTER(...) three times to one that names it data and reuses it.
Names go in pairs. Every name must be immediately followed by its value, and the very last argument is always the calculation — never a name without a value.
Try it: interactive demo
Pick a LET example to see the formula and its result.
Practice workbook
Frequently asked questions
What problem does LET solve?
How are the arguments ordered?
=LET(name1, value1, name2, value2, calculation). The final argument must be the result expression, not a dangling name.Can one name use another name?
=LET(a, 5, b, a*2, a+b) returns 15.Which Excel versions support LET?
Master functions like this in one day
This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class