SWITCH function

Compares a number of supplied values to a supplied test expression and returns a result corresponding to the first value that matches the test expression.