I am looking for a short way to type this:
=if(a1=1,"sometext",if(a1=2,"othertext",if(a1=3,"thirdtext")))
In JavaScript you would do something similar like this:
switch(a1)
case 1: "sometext"
case 2: "othertexT"
case 3: "thirdtext"
There is formula that can handle multiple values?
VLOOKUP
formula is very useful !! If you search Web Applications, you will find multiple cases involving the usage of theVLOOKUP
formula: webapps.stackexchange.com/search?q=vlookup. Welcome on Web Applications !!