Is there a function which will check in a specified cell for a number (should be from 1-10) and return a specific value based what number it found in that cell?

Ex.
IF(A1=1,"text1")
IF(A1=2,"text2")
IF(A1=3,"text3")
IF(A1=4,"text4")
IF(A1=5,"text5")
IF(A1=6,"text6")
IF(A1=7,"text7")
IF(A1=8,"text8")
etc...