Module-2: Chapter-23: Switch Function

The SWITCH function in Excel is a powerful tool that allows you to evaluate one value (referred to as the expression) against a list of other values. It then returns the result corresponding to the first matching value. If no match is found, you can specify an optional default value to be returned.
Here’s the basic syntax of the SWITCH function:
=SWITCH(Value_to_switch, Value_to_match1, Result1, Value_to_match2, Result2, ..., Default_value)

Пікірлер