CHOOSE(index, choice1, [choice2, ...])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
index:
The position number of the choice you want to return. This must be a positive integer.
choice1:
The first value or reference to return if the index is 1. This can be a number, text, or a cell reference.
choice2:
(Optional) The second value or reference to return if the index is 2. This can be a number, text, or a cell reference.
...:
(Optional) Additional values or references to return for higher index numbers. You can include up to 254 choices.
The CHOOSE function in Google Sheets is a versatile tool that allows you to select a value from a list based on a given index number. This function can be particularly useful when you want to return different values based on a specific condition or selection without using multiple IF statements.
In simpler terms, CHOOSE enables you to pick a value from a set of options, making it easier to manage and display data dynamically.
Imagine you are creating a simple grading system based on scores:
| Student | Score |
|---|---|
| Alice | 85 |
| Bob | 92 |
| Charlie | 78 |
You want to assign a letter grade based on the score of each student.
To achieve this, you would use the CHOOSE function as follows:
=CHOOSE(IF(B2>=90, 1, IF(B2>=80, 2, IF(B2>=70, 3, 4))), "A", "B", "C", "F")In this formula:
IF(B2>=90, 1, IF(B2>=80, 2, IF(B2>=70, 3, 4))) determines the index number based on the score in cell B2.When you apply the CHOOSE formula to the Scores Table, the output would look like this:
| Student | Score | Grade |
|---|---|---|
| Alice | 85 | B |
| Bob | 92 | A |
| Charlie | 78 | C |
CHOOSE is beneficial because it simplifies the process of selecting values from a list without the need for complex nested functions. It allows for cleaner formulas and can enhance the readability of your spreadsheets. Additionally, it can be combined with other functions to create more dynamic and responsive data displays.
CHOOSE is an essential function for anyone looking to streamline their data selection processes in Google Sheets, providing a powerful way to enhance data management and presentation.
Happy spreadsheeting!
You have a table listing product categories in Column A and their corresponding discount rates in Column B. Use the CHOOSE formula to input a category number and quickly retrieve the discount rate, streamlining pricing decisions for promotions.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.