Hi Experts

Is it possible to use formulas in a switch case to determine which value should be the output based on an input value?

If the input value is:

<=1 then the output should be 1

1 and <=3 then the output should be 3

3 and <=5 then the output should be 5

5 and <=10 then the output should be 10

else the output should be 20

Alternatively I can of course use nested IFs - but is there a nicer way around this?