LET
Assign local names to intermediate results inside a formula.
Syntax
=LET(name1, value1, [name2, value2, …], calculation)Worked example
Name the quantity and unit price inside the calculation.
=LET(units,4,unitPrice,7.5,units*unitPrice)Result 30
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceWhen You Should Use the New Excel LET Function
Practice LET
Name A2 units and B2 unitPrice inside LET, then multiply them to find the total.
| A | B | |
|---|---|---|
| 1 | ||
| 2 |
Show example formula
=LET(units,A2,unitPrice,B2,units*unitPrice) Lesson quiz
Answer three questions to see your level in this lesson.
