Function · Logical

Excel ISOMITTED function

The Excel ISOMITTED function returns TRUE when a LAMBDA argument in brackets was left out. On a $49 price, an omitted rate uses 8.25%.

Microsoft 365 and Excel 2024, including Excel for the web. Excel 2021 and Excel 2019 do not have it.

Syntax =ISOMITTED(argument)

ISOMITTED
=LAMBDA(price,[rate],IF(ISOMITTED(rate),price*0.0825,price*rate))(49)

Arguments

NameRequiredWhat to pass
argumentRequiredThe LAMBDA parameter to test, such as rate. Write the name in brackets in the parameter list, [rate], when the caller may leave it out. A value that was passed, including 0 and a blank cell, was not left out.

Examples

Microsoft's empty slot, on a $49 price

=LAMBDA(price,rate,IF(ISOMITTED(rate),"Rate omitted",price*rate))(49,)

Result Rate omitted

A bracketed rate defaults to 8.25% of $49

=LAMBDA(price,[rate],IF(ISOMITTED(rate),price*0.0825,price*rate))(49)

Result $4.0425

LET names the rate the caller left out

=LAMBDA(price,[rate],LET(r,IF(ISOMITTED(rate),0.0825,rate),price*r))(49)

Result $4.0425

=LAMBDA(price,[rate],IF(ISOMITTED(rate),price*0.0825,price*rate))(B1)B2
Tax
AB
1Price49
2Default tax4.0425
3Six percent2.94
A picture of the sheet, not a live calculator. B2 leaves the rate out, so the bracketed argument is missing and the tax is 8.25% of $49. B3 passes 6%.

ISOMITTED returns TRUE when a LAMBDA argument was left out and FALSE when the caller passed a value. The argument is the parameter name. Write that name in brackets when the caller should be able to skip it. The brackets come after the required names.

=LAMBDA(price,[rate],IF(ISOMITTED(rate),price*0.0825,price*rate))(49) returns 4.0425. The rate was left out, so the formula uses 8.25% of the $49 price. The same call with 0.06 returns 2.94, which is $49 times 6%. The call with 0 returns 0. Zero was passed, so ISOMITTED is FALSE. IF returns one branch, and the missing-rate branch is the 8.25% default.

Microsoft’s sample leaves the slot empty with a comma and does not use brackets. =LAMBDA(x,y,IF(ISOMITTED(y),"Missing second argument",x+y))(1,) returns that text, because the second argument is missing. The same empty slot after a price, =LAMBDA(price,rate,IF(ISOMITTED(rate),"Rate omitted",price*rate))(49,), returns Rate omitted. Pass 0.0825 in the slot and the result is 4.0425. Call that LAMBDA with (49) only, with no comma and no brackets on rate, and Excel returns #VALUE!. The argument count is wrong, so ISOMITTED never runs. LAMBDA documents that wrong argument count as #VALUE!.

A blank cell is a value that was passed. =LAMBDA(price,[rate],IF(ISOMITTED(rate),price*0.0825,price*rate))(49,B2) is 0 when B2 is empty. ISOMITTED is FALSE, and a blank counts as 0 in the multiplication, so the tax is 0 rather than $4.0425. The argument of ISOMITTED is the parameter name. Pointed at a cell, such as ISOMITTED(B2), it returns FALSE.

LET names the chosen rate once. =LAMBDA(price,[rate],LET(r,IF(ISOMITTED(rate),0.0825,rate),price*r))(49) is the same 4.0425. LET only names a value inside one formula. LAMBDA is the function other formulas can call.

xl.compound.fv writes both pieces, the brackets and the test. compounds and when are optional. Leave them off and the name uses 12 compounds a year and an end-of-month deposit. On $8,000, with $300 a month at 5% for 15 years, that call is $97,096.31. xl.se.tax uses IF(ISOMITTED(wages),0,wages), so a missing wages argument becomes 0. The page’s $80,000 example with wages of 0 is $11,303.64. xl.macrs uses IF(ISOMITTED(month),1,month), so a missing month becomes January, month 1. On $10,000 of five-year property, year 1 on that page is $2,000.

A LAMBDA that is never called is #CALC!. ISOMITTED is in Microsoft 365, Excel 2024, and Excel for the web. Excel 2021 and Excel 2019 return #NAME?. A parameter name that is not in the LAMBDA is #NAME? in the versions that have the function.