What CHOOSE does
CHOOSE returns one value from a list you type into the formula, picked by its position. =CHOOSE(2,"Low","Base","High") returns Base, the second value. The first argument is usually a cell or a calculation, so the same formula picks a different value as that number changes.
It suits small, fixed lists where a number already says which item you want, such as a scenario picked by its number or a quarter worked out from a month. Each value can be a number, text, a cell reference or a whole calculation.
The list lives inside the formula, which keeps the sheet tidy but makes the list harder to change. When the options are long or change often, a table on the sheet with INDEX or XLOOKUP is easier to maintain.
Syntax
index_numRequired- Which value to return, counting from 1: a number, a cell such as
$B$1, or a formula likeMONTH(A2). A fraction is cut down to a whole number, and anything below 1 or past the last value gives#VALUE!. value1Required- The value to return when index_num is 1: a number, text in quotation marks, a cell or a calculation.
value2Optional, can repeat- The values for 2, 3 and so on, in order, up to 254 values in all.
Example: switch a forecast between scenarios
A forecast keeps three scenarios side by side, in thousands of dollars. The number in B1 says which one the plan uses, and every row of column E follows it. The formula in E4 is filled down to E5.
$B$1 is locked, so every row reads the same scenario number when the formula is filled down, while B4, C4 and D4 move down a row each time.
Example: fiscal quarters from dates
This company’s fiscal year starts in July, so July to September is Q1 and January to March is Q3. MONTH returns 1 to 12, and CHOOSE turns each month number into its fiscal quarter. The formula in B2 is filled down to B5.
For calendar quarters, the list would start 1,1,1 and end 4,4,4.
CHOOSE, SWITCH or a lookup
- CHOOSE picks by position, so it needs a number from 1 upward. It works in every version of Excel.
- SWITCH picks by matching a value, such as a code “N” or “S”, so it doesn’t need a number. It’s in Excel 2019 and later.
- INDEX, XLOOKUP and VLOOKUP read the list from cells on the sheet, which is easier to update than a list typed into every formula.
Common mistakes
- An index_num of 0, a blank cell, or a number past the end of the list shows
#VALUE!. With three values, only 1, 2 and 3 work. =CHOOSE(B5,E5,E6,E7)filled down turns into=CHOOSE(B6,E6,E7,E8)on the next row, which reads the wrong cells. Lock the list:=CHOOSE(B5,$E$5,$E$6,$E$7).- A number such as 2.7 picks the second value, because CHOOSE cuts the fraction off before it counts. Round it first if you meant 3.
- Values typed into many formulas have to be changed in every one of them. When a rate or a label might change, put the list in cells and refer to them.
Frequently asked questions
What does the CHOOSE function do in Excel?
It returns the value at a given position in a list you give it: =CHOOSE(2,"Low","Base","High") returns Base. The position usually comes from a cell or a formula, so the result changes with it.
How many values can CHOOSE take?
Up to 254 values, so index_num can go from 1 to 254.
What is the difference between CHOOSE and SWITCH?
CHOOSE picks a value by its position, so it needs a number. SWITCH compares a value with a list of matches, such as codes or names, and returns the result for the one that matches. SWITCH needs Excel 2019 or later.
How do I get the day name from a date with CHOOSE?
Use WEEKDAY as the position: =CHOOSE(WEEKDAY(A2),"Sun","Mon","Tue","Wed","Thu","Fri","Sat"), since WEEKDAY returns 1 for Sunday. =TEXT(A2,"ddd") gives the same short names in fewer characters.
Is CHOOSE better than nested IF?
When the choice is already a number from 1 upward, yes: one CHOOSE replaces a chain of IFs that each test for 1, 2, 3 and so on. For ranges of values, such as scores of 90 or more, IFS or a lookup table fits better.