CHOOSE function

Category: Lookup and reference
Introduced: Excel 2003

Summary

Chooses a value from a list of values

Syntax

CHOOSE(index_num, value1, [value2], ...) The CHOOSE function syntax has the following arguments:
• Index_num Required. Specifies which value argument is selected. Index_num must be a number between 1 and 254, or a formula or reference to a cell containing a number between 1 and 254. If index_num is 1, CHOOSE returns value1; if it is 2, CHOOSE returns value2; and so on. If index_num is less than 1 or greater than the number of the last value in the list, CHOOSE returns the #VALUE! error value. If index_num is a fraction, it is truncated to the lowest integer before being used.
• If index_num is 1, CHOOSE returns value1; if it is 2, CHOOSE returns value2; and so on.
• If index_num is less than 1 or greater than the number of the last value in the list, CHOOSE returns the #VALUE! error value.
• If index_num is a fraction, it is truncated to the lowest integer before being used.
• Value1, value2, ... Value 1 is required, subsequent values are optional. 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.

Example

=CHOOSE(2,A2,A3,A4,A5)
=CHOOSE(4,B2,B3,B4,B5)
=CHOOSE(3,"Wide",115,"world",8)
=SUM(A2:CHOOSE(2,A3,A4,A5))

Microsoft Support Page

https://support.microsoft.com/en-us/office/choose-function-fc5c184f-cb62-4ec7-a46e-38653b98f5bc

Back to Functions