Inside a LAMBDA function, ISOMITTED will return TRUE when an argument has not been provided.
If we supply 20 for b, the formula returns 120.
So far so good.
Now let’s say we want to makeboptional, and we wantbtodefaultto 10 if not provided.
If we do provider a value forb, the formula returnsa+b.
Worksheet Example
In the worksheet shown above, we are using theLAMBDA functionto check password length.
The formula returns TRUE if a password is at least 8 characters long and FALSE if not.
The formula returns TRUE if a password is at least 10 characters long and FALSE if not.
LET Function
The Excel LET function lets you define named variables in a formula.