deepcalc
DocsLAMBDA

LAMBDA

Creates a custom reusable function.

  • Excel: Verified match
  • Google Sheets: Verified match
  • Returns: Any value

Examples

=LAMBDA(x, y, x + y)(2, 3)
Result 5

Syntax

LAMBDA(parameter_or_calculation…)
parameter_or_calculation…
any required

Errors

#VALUE!
=MAKEARRAY(3, 0, LAMBDA(x, y, y))
#ERROR!
=SCAN(0, A2:A3, LAMBDA(a, b, a+b), 1)