Choose Function

  1. Choose(number, choice1, [choice2,] [choice3,]... )

Returns a value from a list of arguments

Choose will return a null value if number is less than one or greater than the number of choices in the list. If number is not an integer it is rounded to the nearest integer.

More:

Example - Choose Function