Overview
The SWITCH function evaluates an expression against a list of values and returns the result for the first matching value. Combined with TRUE() as the expression, it acts like a readable chain of IF conditions—ideal for bucketing, labeling, and status mapping.
SWITCH(TRUE(), ...) is often cleaner than nested IFs when you have three or more mutually exclusive conditions evaluated in order.