CHOOSE function in Google Sheets
Returns an element from a list of choices based on index.
=CHOOSE(index, choice1, [choice2, ...])CHOOSE syntax and parameters
Three arguments, two required.
- indexnumberRequired
Which choice (of the up to 29 provided) to return. If index is zero, negative, or greater than the number of choices provided, the #NUM! error is returned.
- choice1anyRequired
A potential value to return. Required. May be a reference to a cell or an individual value.
- choice2anyRepeating
Additional values among which to choose.
CHOOSE examples
Formulas you'll actually reuse.
A weekday label from a date, no lookup table needed:
=CHOOSE(WEEKDAY(A2, 2), "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")Result
"Thu"Total whichever scenario column a 1/2/3 selector cell points at:
=SUM(CHOOSE(B2, D2:D13, E2:E13, F2:F13))Result
148200
CHOOSE in Excel
Same name — your formula ports as-is.
Try CHOOSE in the playground
Edit the example — nothing to install.
Preloaded with the CHOOSE formula from Example 1 — change anything and watch it respond.
CHOOSE errors
What they mean — and the fixes.
#VALUE!The index is outside 1…N — it must point at one of the listed values (fractions are truncated, so 0.9 counts as 0).
Related functions
More ways Google Sheets gets this done.
- ADDRESSReturns a cell reference as a string.LookupExcel
- COLUMNReturns the column number of a specified cell, with `A=1`.LookupExcel
- COLUMNSReturns the number of columns in a specified array or range.LookupExcel
- FORMULATEXTReturns the formula as a string. .LookupExcel
- GETPIVOTDATAExtracts an aggregated value from a pivot table that corresponds to the specified row and column headings.LookupExcel
- HLOOKUPHorizontal lookup. Searches across the first row of a range for a key and returns the value of a specified cell in the column found.LookupExcel