How to use CHOOSE in Excel: pick an option by number
CHOOSE returns an option from a list by its number 1, 2, 3…: payment method, weekday, quarter, scenario. Syntax, examples, why it beats nested IFs.
CHOOSE is the simplest picking function: you give it a number and a list of options, and it returns the option at that position. 1 is the first, 2 the second, and so on.
Where it helps:
- Data exported from accounting or till software with codes: 1 — cash, 2 — card, 3 — online.
- A weekday name or quarter number from a date.
- Switching scenarios in a financial model: pessimistic / base / optimistic.
With three or four options, CHOOSE is much shorter and easier to read than nested IFs.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Receipt | Amount | Code | Payment | |
| 2 | #1041 | 85 000 | 1 | Cash | |
| 3 | #1042 | 240 000 | 31 | Online2 | |
| 4 | #1043 | 56 000 | 2 | Card | |
| 5 | #1044 | 130 000 | 1 | Cash | |
| 6 |
Syntax
=ВЫБОР(index_num; value1; [value2]; ...)
index_num— which option you want: a number from 1 to 254, or a formula that returns one. Decimals are truncated: 2.7 → 2.value1, value2, …— the options (up to 254): text, numbers, cell references, ranges or other formulas.
If index_num is less than 1 or greater than the number of options, you get #VALUE!.
Writing CHOOSE step by step
1
Select D2 and click Формулы → Ссылки и массивы → CHOOSE.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Receipt | Amount | Code | Payment | |
| 2 | #1041 | 85000 | 1 | ||
| 3 | #1042 | 240000 | 3 | ||
| 4 | #1043 | 56000 | 2 | ||
| 5 |
2
Index_num — C2 (the code). Value1 — “Cash”, Value2 — “Card”, Value3 — “Online”. A new Value box appears as you fill in the previous one. If you type text without quotes, the dialog adds them for you.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Receipt | Amount | Code | Payment | |
| 2 | #1041 | 85000 | 1 | ||
| 3 | #1042 | 240000 | 3 | ||
| 4 | #1043 | 56000 | 2 | ||
| 5 | #1044 | 130000 | 1 | ||
| 6 |
3
Click OK and double-click the fill handle to copy the formula down. Each receipt gets its payment method from its own code.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Receipt | Amount | Code | Payment | |
| 2 | #1041 | 85 000 | 1 | Cash | |
| 3 | #1042 | 240 000 | 3 | Online | |
| 4 | #1043 | 56 000 | 2 | Card | |
| 5 | #1044 | 130 000 | 1 | Cash | |
| 6 |
Example: weekday and quarter from a date
CHOOSE often teams up with a function that returns a number.
Weekday. WEEKDAY(A2,2) returns 1 for Monday and 7 for Sunday. CHOOSE turns that number into a name:
=ВЫБОР(ДЕНЬНЕД(A2;2);"Mon";"Tue";"Wed";"Thu";"Fri";"Sat";"Sun")
Quarter. MONTH(A2) gives a number from 1 to 12. Out of 12 options, every three belong to one quarter:
="Q"&ВЫБОР(МЕСЯЦ(A2);1;1;1;2;2;2;3;3;3;4;4;4)
The same trick easily adapts quarters to a fiscal year that starts in July — just change the order of the options.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Date | Day | Quarter | |
| 2 | 01.01.2025 | Wed | Q1 | |
| 3 | 01.03.2025 | Sat | Q1 | |
| 4 | 01.05.2025 | Thu | Q2 | |
| 5 | 31.08.2025 | Sun | Q3 | |
| 6 | 08.12.2025 | Mon | Q4 | |
| 7 |
Pro level: a scenario switch
In a financial model you can change one number in one cell and switch the whole report to another scenario:
=ВЫБОР($B$1;B4;C4;D4)
B1 = 1 takes the pessimistic column, 2 the base, 3 the optimistic. Add a drop-down list to B1 (Data Validation) and you have a handy “switch” for your manager.
Two more techniques:
- Picking a range. CHOOSE can return a reference:
=СУММ(ВЫБОР(B1;B2:B13;C2:C13;D2:D13))totals the selected year. - How it differs from SWITCH. If the codes aren’t consecutive (10, 20, 50) or are text,
SWITCHin Excel 2019+ is handier:=ПЕРЕКЛЮЧ(C2;10;"Cash";20;"Card";"Other").
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Scenario: | 21 | ||||
| 2 | ||||||
| 3 | Measure | Pessimistic | Base | Optimistic | Selected | |
| 4 | Revenue | 800 | 1000 | 1250 | 1000 | |
| 5 | Costs | 700 | 750 | 850 | 750 | |
| 6 | Profit | 100 | 250 | 400 | 250 | |
| 7 |
Try it in the simulator
Type =ВЫБОР(C2;"Cash";"Card";"Online") in D2 and fill it down to D6. C6 holds code 4 — see what you get. Then wrap the formula in D2 in IFERROR so it shows “Unknown”, and fill it down again.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Receipt | Amount | Code | Payment | ||||||||||||||||||||
| 2 | #1041 | 85000 | 1 | |||||||||||||||||||||
| 3 | #1042 | 240000 | 3 | |||||||||||||||||||||
| 4 | #1043 | 56000 | 2 | |||||||||||||||||||||
| 5 | #1044 | 130000 | 1 | |||||||||||||||||||||
| 6 | #1045 | 72000 | 4 | |||||||||||||||||||||
| 7 | ||||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.