LogicalExcel 2021

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 reference

Search ExcelTutor