LET Function in Excel: Syntax, Examples & Practice
Learn the Excel LET function: Assigns names to intermediate calculations so complex formulas can be clearer and easier to maintain. Try focused practice and download a free workbook.
Syntax
=LET(name1, name_value1, calculation_or_name2, [calculation_or_name3], …)
Available in Microsoft 365, Excel 2021 and Excel 2024 on desktop. Older perpetual releases may not support this function.
Worked example
| Row | A: Employee | B: Sales | C: Cost |
|---|---|---|---|
| 2 | Amit | 100000 | 75000 |
| 3 | Priya | 90000 | 72000 |
| 4 | Ravi | 80000 | 60000 |
| 5 | Neha | 120000 | 90000 |
=LET(sales,B2,cost,C2,(sales-cost)/sales)
Expected result: 25%
LET names the visible Sales and Cost cells before calculating the profit margin.
Professional use
Readable KPIs, repeated calculations and formula refactoring.
Practice LET · Download practice .xlsx
Apply your skills
Explore MIS and finance projects
Questions and answers
How can I practise LET?
Use the focused ten-question LET lab, then download its workbook for ten additional function-specific tasks and an answer key. Core learning works without an account.
Which Excel version supports LET?
Available in Microsoft 365, Excel 2021 and Excel 2024 on desktop. Older perpetual releases may not support this function.
Does the browser simulator replace Microsoft Excel?
No. It supports a selected set of formula behavior for practice. Native workbook recalculation, full function compatibility, PivotTables and external data features must be checked in your own Excel installation.
Interactive practice runs in your browser.