How to hardcode set of value to a variable , depending upon another variable

Do you need something like this?