Friday, April 7, 2017

CHOOSE Function

Returns a value from a list based on position. Uses index_num to return a value from arguments.

Syntax:     =CHOOSE(index_num, value1, [value2], ...)

index_num  must be a number or a formula or reference to a cell containing a number between 1 and 254.

value1, value2, ...  Value 1 is required, subsequent values are optional. 1 to 254 value arguments from which CHOOSE selects a value.


Examples:
if value1 through value7 are the days of the week, CHOOSE returns one of the days when a number between 1 and 7 is used as index_num.

=CHOOSE(A1,"Mon","Tue","Wed","Thu","Fri","Sat","Sun")

=SUM(CHOOSE(2,A1:A10,B1:B10,C1:C10))
this will work as =SUM(B1:B10)


Common Errors
#VALUE!    -  
*  The supplied index_num is less than 1 or is greater than the supplied number of values;
*  The supplied index_num argument is non-numeric.

#NAME?
*  Occurs if any of the value arguments are text values that are not enclosed in quotes and are not valid cell references.




For more detail, check below links or contact us ...
* CHOOSE Function at https://office.com