Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets CHOOSE Function: How to Use It

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The CHOOSE function in Google Sheets returns one value from a list based on a number you give it. Its syntax is =CHOOSE(index, value1, value2, ...), where index is a number from 1 upward and the values are the options it picks from. If you type =CHOOSE(2, "Red", "Green", "Blue"), the cell shows Green. That is the whole idea: you supply a position, and CHOOSE hands back whatever sits in that position. It is most useful when you want to map a code, a month number or a dropdown selection to a label without building a long nested IF.

What You'll Need

  • A Google account with access to Google Sheets (the free web version at sheets.google.com or the Google Sheets app on Android or iOS).
  • A spreadsheet you can edit, or permission to create a new one.
  • Basic familiarity with typing formulas into the formula bar and pressing Enter.
  • Your list of options, written out in the order you want them numbered. CHOOSE counts from 1, not 0.

Step-by-Step

  1. Open your spreadsheet at sheets.google.com, or open the Google Sheets app and pick a file. The steps below work the same on desktop and mobile; the formula bar is at the top of the screen on both, though the mobile app labels it with a function icon rather than a visible bar. Menu labels can differ slightly by version, device and region.
  2. Click the cell where you want the result to appear. This is the cell that will hold the CHOOSE formula, not the cell holding the number.
  3. Type an equals sign to start a formula, then type CHOOSE(. Google Sheets will show a hint bubble with the expected arguments: index, then the choices.
  4. Enter the index. This can be a plain number like 2, or a cell reference like A2 that contains a number. For example, =CHOOSE(A2, "Low", "Medium", "High") reads the number in A2 and returns the matching label.
  5. Type a comma, then your first option in quotation marks if it is text: "Low". Numbers and cell references do not need quotation marks. Commas separate every argument, so each option must be its own argument.
  6. Continue adding options separated by commas. There is no need to stop at three; CHOOSE accepts a long list, and the index simply has to fall within it.
  7. Close the bracket with ) and press Enter (or tap the check mark on mobile). The cell now displays the option matching your index.
  8. Test it by changing the index. Put 1 in the referenced cell and the formula should return the first option; put 3 and it should return the third. If nothing changes, check that the formula is pointing at the right cell.
  9. Copy the formula down a column by dragging the small fill handle at the bottom-right corner of the cell, or by copying and pasting. Relative references adjust automatically, which lets one formula serve a whole column of codes or scores.
  10. To use CHOOSE inside another formula, nest it where a value is expected. For example, =VLOOKUP(A2, B2:D10, CHOOSE(2, 2, 3), FALSE) is valid because CHOOSE returns a number the outer function can use. Keep nesting shallow; deep nesting is hard to audit later.

Common Mistakes

  • Starting the count at zero. CHOOSE is one-based. An index of 0 returns an error, not the first item.
  • Forgetting quotation marks around text. Writing =CHOOSE(1, Red, Green) makes Sheets look for named ranges called Red and Green and return a #NAME? error. Text options need quotes.
  • Using an index larger than the list. If you give three options and an index of 4, you get #VALUE!. The index must be between 1 and the number of options.
  • Separating options with semicolons or spaces. In the standard English locale, arguments are separated by commas. Some regional spreadsheet settings use semicolons, so if commas fail, check the locale under File > Settings.
  • Expecting CHOOSE to search. It does not look anything up. It only counts positions. If you need to find a value in a table, use VLOOKUP, XLOOKUP or INDEX with MATCH instead.
  • Passing a decimal index. An index of 1.5 is not valid; CHOOSE expects a whole number.

Tips

  • Pair CHOOSE with a dropdown. Create a data validation list in one cell, then use CHOOSE with a MATCH on that list to convert the chosen label into a number or code.
  • Keep the option list short and readable. If you find yourself writing ten or more options, a lookup table on a separate sheet is easier to maintain and edit later.
  • Use cell references for the options when the labels might change. =CHOOSE(A2, B1, B2, B3) updates automatically when you edit B1 through B3.
  • Wrap CHOOSE in IFERROR if the index might be out of range, for example =IFERROR(CHOOSE(A2, "Low", "Medium", "High"), "Unknown"). That shows a friendly label instead of an error.
  • Use CHOOSE for month names: =CHOOSE(A2, "Jan", "Feb", "Mar") is a quick alternative to TEXT when you want short custom labels rather than a date format.
  • Remember CHOOSE returns values, not formatting. If you need colour coding, use conditional formatting on the result.

Troubleshooting

  • #VALUE! error. The index is out of range, not a number, or a decimal. Check that the index cell contains a whole number between 1 and the number of options.
  • #NAME? error. Text options are missing quotation marks, or you typed a function name incorrectly. Recheck the spelling of CHOOSE and the quotes around each text option.
  • #N/A error. Usually caused by an index cell that is blank or contains text. Fill the cell with a valid number.
  • The formula shows as text. The cell may be formatted as plain text, or the formula is missing the leading equals sign. Select the cell, check the formula bar, and reformat the cell as Automatic under Format > Number.
  • Results do not update. Confirm calculation is not paused and that the referenced cell actually changed. On mobile, pull down on the sheet to refresh.
  • Commas rejected. Your spreadsheet locale may use semicolons as separators. Either switch the locale in File > Settings or use semicolons in the formula.
  • If that did not work, copy the formula into a fresh cell with simple hard-coded values to isolate the problem, then rebuild it piece by piece. If the sheet itself seems broken, reload the page or reopen the app before making bigger changes.

Frequently Asked Questions

What is the difference between CHOOSE and IF?

IF tests a condition and returns one of two results. CHOOSE picks from a list by position and does no testing. For three or more fixed options, CHOOSE is usually shorter and easier to read than nested IFs.

Can CHOOSE return a range instead of a single value?

Yes. If the options are ranges, CHOOSE can return a range reference, which is why it sometimes appears inside functions like SUM or VLOOKUP. The returned range must be valid for the outer function to use.

Does CHOOSE work with text as the index?

No. The index must be a number. If your source data is text, convert it first with MATCH against a list, then feed that number into CHOOSE.

How many options can CHOOSE handle?

Google Sheets accepts a long list of options, but very long formulas become hard to maintain. Past roughly a dozen options, a lookup table is the more practical choice.

Why does CHOOSE show #VALUE! when my index looks correct?

Check for hidden spaces or a number stored as text in the index cell. A value like "2 " with a trailing space is text, not the number 2. Clean it with TRIM or retype the value.

Can I use CHOOSE in Google Sheets on my phone?

Yes. The Google Sheets app supports CHOOSE the same way the desktop version does. Type the formula in the formula bar at the top of the sheet and confirm with the check mark.