How to use ISOMITTED function in Excel?

The `ISOMITTED` function in Excel is a relatively newer function introduced to work with dynamic arrays and handle optional arguments, particularly in the context of LAMBDA functions. It’s mainly used to determine if a value was omitted in the function call.

Here’s a basic guide on how to use the `ISOMITTED` function in Excel:

Syntax:

ISOMITTED(argument)
  • argument: The argument you want to check if it was omitted.

How It Works:

  • `ISOMITTED` returns `TRUE` if the specified argument is omitted when the LAMBDA is called, and `FALSE` otherwise.

Typical Use Case:

  • LAMBDA functions: Use `ISOMITTED` to handle default values when certain arguments are not passed to a LAMBDA function.

Example:

Suppose you have a LAMBDA function that takes two numbers and returns their sum. But if the second number is omitted, it defaults to 10.

=LAMBDA(a, b, IF(ISOMITTED(b), a + 10, a + b))
  • Here, `ISOMITTED(b)` checks if the second argument `b` is not provided. If it is omitted, the function uses `10` as the default value for `b`.

Steps to Use:

  • Define a LAMBDA using Excel’s `FORMULAS` > `Name Manager`.
  • Create a custom function using `LAMBDA` and `ISOMITTED`.
  • Use the custom function in your workbook by calling it like any other Excel function.

Points to Remember:

  • `ISOMITTED` is specifically useful in scenarios with optional arguments in dynamic arrays and LAMBDA functions.
  • This function is available in Excel 365 and Excel 2021, where dynamic arrays and LAMBDA functions are supported.

The `ISOMITTED` function provides flexibility in defining custom behaviors for dynamic calculations, making it easier to build adaptable functions.

Unlock Your Potential

Excel

Basic - Advanced

Access

Access Basic - Advanced

Power BI

Power BI Basic - Advanced

Help us grow the project