expressions with conditionals

playing around with the formula