Nested conditions are useful for a small number of clear outcomes. If the formula becomes difficult to read, consider separating the logic into properties or using dimension-based formulas.
Use a condition before dividing or taking a square root. This avoids predictable errors such as division by zero or taking the square root of a negative value.