Excel SWITCH function evaluates the given value against a list of values and returns the result corresponding to the first matching value.