FormulaCraft

CHOOSE vs SWITCH: selecting a value by index or match in Excel and Sheets

Excel & Google Sheets
=CHOOSE(A2,"Low","Medium","High")

Verified example

Computed by a real spreadsheet engine on the sample data below.

Level
2

=CHOOSE(A2,"Low","Medium","High")Medium

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1CHOOSE(2, "Low", "Medium", "High") returns the 2nd option — "Medium".
  2. 2SWITCH(grade, "A", "Excellent", "B", "Good") matches a value rather than a position.
  3. 3Use CHOOSE when you have a 1-based index; use SWITCH to replace a chain of equality IFs.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Is SWITCH better than nested IF?

For testing one expression against several exact values, yes — SWITCH is shorter and easier to read than nested IFs. For ranges or comparisons, use IFS.

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: