FormulaCamp
Completed
← All functions
Logic

CHOOSE

Returns a value by its number.

Syntax

CHOOSE(index_num, value1, value2, …)

Example: =CHOOSE(2,"Q1","Q2","Q3","Q4")

Available in: All versions

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =CHOOSE(2,A2,A3,A4)

Example spreadsheet for CHOOSE
ABCDEF
1StudentScoreExtra creditAttemptsResult
2Ann92Yes2Bob
3Bob74No0
4Cy58Yes3
5Dee81No1
6Eli662
Result in F2: Bob

More in Logic