Description Returns a value from a list of numbers based on the index number supplied.
Syntax CHOOSE ( index, item_list )
Argument | Description |
---|---|
index | A number that refers to an item in item_list. |
item_list | A list of numbers, formulas, or text separated by commas. This argument can also be a range reference. You can specify as many as 29 items in the list. |
Remarks Index can be a cell reference; index can also be a formula that returns any value from 1 to 29. If index is less than 1 or greater than the number of items in item_list, #VALUE! is returned. If index is a fractional number, it is truncated to an integer.
Examples This function returns Q2:
This function returns the average of the contents of range A1:A10:
See Also INDEX (non-array type)