When you only need two outcomes, the IF function is fine. But the moment you start stacking conditions (if this, then that, otherwise if this, then that), you’re building a house of cards. At first, ...
An IF statement returns a value based on a TRUE/FALSE evaluation, and you can nest IF statements inside another to create complex logic. A SWITCH statement evaluates an expression and tests it against ...