Category: FUNCTION | Updated: 2026-11-22

How to Use the CHOOSE Function in Google Sheets | Select a Value by Index Number

How to Use the CHOOSE Function

The CHOOSE function returns a value or cell range from a list of choices based on a specified index number (1, 2, 3…).

Syntax

=CHOOSE(index, choice1, [choice2, ...])
  • index: A number (or formula) of 1 or greater indicating which choice to return (required). If a decimal is provided, the fractional part is truncated.
  • choice1: The value, cell reference, or formula to return when index is 1 (required).
  • choice2, …: Additional values to return when index is 2 or higher, separated by commas (optional).

Example Using a Table

Here is an example of combining CHOOSE with the WEEKDAY function (which returns 1 for Sunday through 7 for Saturday) to display the day of the week from a date.

Row Column A (Date) Column B (Formula) Column C (Result)
1 Date Formula Day
2 2026/11/22 =CHOOSE(WEEKDAY(A2), "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat") Sun
3 2026/11/23 =CHOOSE(WEEKDAY(A3), "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat") Mon
4 2026/11/24 =CHOOSE(WEEKDAY(A4), "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat") Tue
  • Formula: =CHOOSE(WEEKDAY(A2), "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat")
  • Result: Sun (WEEKDAY("2026/11/22") returns 1, so the first choice "Sun" is returned)

Common Errors and Notes

  • Out-of-Range Index (#NUM! Error): Passing 0 or less, or a number larger than the total number of choices (e.g., passing 4 when only 3 choices are provided), produces a #NUM! error.
  • Text Passed as Index (#VALUE! Error): Passing text that cannot be converted into a number for index results in a #VALUE! error.
  • Maintainability with Many Choices: If you have 10 or more choices, the formula becomes long and hard to maintain. In that case, consider creating a master table on another sheet and looking up values with INDEX or XLOOKUP.

Frequently Asked Questions

Q. What happens if I pass 0 or a negative number as the index in CHOOSE?

A. Because the index must be a positive integer starting at 1, passing 0, a negative number, or a number greater than the number of provided choices results in a "#NUM!" error.

Q. Should I use CHOOSE or SWITCH?

A. CHOOSE is simple and convenient when branching on sequential integers like 1, 2, 3... On the other hand, use SWITCH when you want to branch on text strings like "Tokyo" or "Osaka" or non-sequential numbers.