Excel CHOOSE function
CHOOSE picks one of several candidates by number — effectively a switch made of digits. It is at its best mapping a dropdown: 1 shows Low, 2 shows Medium. Compared with nested IFs it reads like a lookup table, and its candidates can be ranges.
Lookup & reference · Available in: Excel 97 and every desktop version since
Syntax
CHOOSE(index_num, value1, [value2], ...)What it returns The value in position index_num of the argument list.
| Arguments | ||
|---|---|---|
| index_num | required | Which candidate to return, 1 to 254; decimals are truncated. |
| value1 | required | The first candidate — a constant, a cell or a range. |
| value2 | optional | Further candidates, up to 254. |
Examples
Priority label from a number
| Code | Label |
| 1 | Low |
| 2 | Medium |
| 3 | High |
= CHOOSE(A2,"Low","Medium","High")→ Low
A2 is 1, so the first candidate is returned. Change A2 to 3 and the answer becomes High without touching the formula — the reason this beats three nested IFs.
Map a dropdown index to a month
| Pick | Month |
| 2 | February |
= CHOOSE(A2,"January","February","March")→ February
Index 2 returns the second argument. An index outside the list (say 4) returns #VALUE!, so wrap it in IFERROR when the input is user-controlled.
Common mistakes
- 1.Counting from zero. CHOOSE starts at 1, and 0 returns #VALUE!.
- 2.More than 254 candidates. Past that, a lookup table with XLOOKUP is the sustainable answer.
- 3.Passing ranges as candidates and expecting a whole range back — CHOOSE returns a reference, which only behaves as a range in a dynamic array or inside another function.
How to use it
- 1.Click the cell where the result should appear.
- 2.Type = then the function name, and press Tab to accept it.
- 3.Enter each argument separated by commas; ranges can be dragged with the mouse.
- 4.Press Enter. Drag the fill handle down if the same formula applies to more rows.
Frequently asked questions
What is the syntax of CHOOSE?
CHOOSE(index_num, value1, [value2], ...). What it returns: The value in position index_num of the argument list.
Which Excel versions support CHOOSE?
Excel 97 and every desktop version since. It is available in every desktop version unless the note above says otherwise.
Why does CHOOSE return an error instead of a value?
Counting from zero. CHOOSE starts at 1, and 0 returns #VALUE!.