How to write and test a LAMBDA in 2 steps
A LAMBDA lists its input parameter names first, followed by one final calculation expression. To test it inside a cell before saving it to Name Manager, append the test arguments in a second set of parentheses:
=LAMBDA(net, rate, net*(1+rate))(C4, E2)Add (C4, E2) right after the closing parenthesis to invoke the function immediately and check its output.
=LET(gross, LAMBDA(p, p*(1+E2)), gross(C4) + gross(C5))Name a LAMBDA inside LET so you can call it multiple times in the same cell without touching Name Manager.
=MAP(C2:C7, LAMBDA(net, net*(1+E2)))Applies your LAMBDA to every cell in C2:C7 and spills all 6 gross prices automatically.
4 common LAMBDA mistakes
#CALC! (LAMBDA not called)
Typing =LAMBDA(net,rate,net*(1+rate)) without trailing arguments returns #CALC! in a worksheet cell. Pass inputs right after it: (C4,E2).
Returning tax instead of gross total
net*rate calculates only the 45.00 tax amount. Multiply by (1+rate) to keep the original net price plus tax.
Wrong argument count (#VALUE!)
If your LAMBDA declares 2 parameters (net, rate), calling it with 1 or 3 values returns #VALUE!.
Parameter name colliding with a cell
Avoid naming parameters like C1 or R2. Clear names such as net, rate, or price prevent ambiguous references.
FAQ
Why does my LAMBDA formula return #CALC!?
Excel cannot display a bare function value inside a worksheet cell. Either call the LAMBDA immediately with trailing parentheses — such as =LAMBDA(x, x*2)(A1) — pass it to a helper like MAP/BYROW/REDUCE, or save it in Name Manager.
How do I make a LAMBDA reusable across my whole workbook?
First test it in a cell with trailing test inputs like =LAMBDA(net,rate,net*(1+rate))(C4,E2). Once it works, copy the LAMBDA(...) portion (without the test call), open Formulas → Name Manager → New, give it a name like ADD_TAX, and paste it into Refers to.
Which versions of Excel support LAMBDA?
LAMBDA is supported in Microsoft 365, Excel 2024, and Excel for the web. It is not available in Excel 2021 or older perpetual versions.
What is the difference between LET and LAMBDA?
LET names values (or helper formulas) inside a single cell. LAMBDA defines a parameterized function you can call with different inputs — directly in a cell, inside LET, with MAP/BYROW/SCAN/REDUCE, or saved as a custom workbook function in Name Manager.