Mar 18 2023 01:33 AM
Hi guys,
Take a look at the following figure, the formula in A1 is
=LAMBDA(x,ISOMITTED(x))()
What I expected is that A1=TRUE. Many thanks!
Mar 18 2023 01:48 AM
SolutionMar 18 2023 05:41 AM
@Sergei Baklan Thanks, it works. I've never heard of this syntax, could you please tell me where to find the document about it? Thanks again!
Mar 18 2023 08:21 AM
Sorry, I'm not sure about the documentation, please try to google.
Parameter(s) in bracket means optional one which could be omitted. Thus you may check for such optional parameters if they are omitted or not. And if omitted assign default value or do something you wish.
If parameter is not optional it can't be omitted and shall be passed to function. With ISOMITTED() you may check optional parameters. As an example
=LAMBDA(x, [y], LET( z, IF( ISOMITTED(y), 10, y), x+z) )(5)