Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to create dynamic named range with OFFSET in Excel
  • How to get address of last cell in range in Excel
  • How to get address of first cell in range in Excel
  • How to use Excel LOOKUP Function
  • How to get first row number in range in Excel

Data Analysis Examples

  • How To Perform and Interpret Regression Analysis in Excel
  • Randomize/ Shuffle List in Excel
  • How To Create Pareto Chart in Excel
  • Example of COUNTIFS with variable table column in Excel
  • Understanding Pivot Tables in Excel

Data Validation Examples

  • Excel Data validation exists in list
  • Excel Data validation must contain specific text
  • Excel Data validation allow uppercase only
  • Excel Data validation allow weekday only
  • Excel Data validation must not contain

CHOOSE function: Description, Usage, Syntax, Examples and Explanation

by

What is Excel CHOOSE function?

CHOOSE function is one of Lookup and Reference functions in Microsoft Excel that uses index_num to return a value from the list of value arguments. Use CHOOSE to select one of up to 254 values based on the index number. For example, if value1 through value7 are the days of the week, CHOOSE returns one of the days when a number between 1 and 7 is used as index_num.

Syntax of CHOOSE function

CHOOSE(index_num, value1, [value2], …)

The CHOOSE function syntax has the following arguments:

  • Index_num    Required. Specifies which value argument is selected. Index_num must be a number between 1 and 254, or a formula or reference to a cell containing a number between 1 and 254.
    • If index_num is 1, CHOOSE returns value1; if it is 2, CHOOSE returns value2; and so on.
    • If index_num is less than 1 or greater than the number of the last value in the list, CHOOSE returns the #VALUE! error value.
    • If index_num is a fraction, it is truncated to the lowest integer before being used.
  • Value1, value2, …     Value 1 is required, subsequent values are optional. 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.
Worked Example:   How to randomly assign data to groups in Excel

CHOOSE formula explanation

  • If index_num is an array, every value is evaluated when CHOOSE is evaluated.
  • The value arguments to CHOOSE can be range references as well as single values.For example, the formula:
Worked Example:   Get first Monday before any date in Excel

=SUM(CHOOSE(2,A1:A10,B1:B10,C1:C10))

evaluates to:

=SUM(B1:B10)

which then returns a value based on the values in the range B1:B10.

The CHOOSE function is evaluated first, returning the reference B1:B10. The SUM function is then evaluated using B1:B10, the result of the CHOOSE function, as its argument.

Examples of CHOOSE function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

Worked Example:   Excel Rank with ordinal suffix Example

You can adjust the column widths to see all the data, if need be.

Data
1st Nails
2nd Screws
3rd Nuts
Finished Bolts
Formula Description Result
=CHOOSE(2,A2,A3,A4,A5) Value of the second list argument (value of cell A3) 2nd
=CHOOSE(4,B2,B3,B4,B5) Value of the fourth list argument (value of cell B5) Bolts
=CHOOSE(3,”Wide”,115,”world”,8) Value of the third list argument world

Example 2

Data
23
45
12
10
Formula Description (Result) Result
=SUM(A2:CHOOSE(2,A3,A4,A5)) Sums the range A2:A4. The CHOOSE function returns A4 as the second part of the range for the SUM function. 80

Post navigation

Previous Post:

DAYS function: Description, Usage, Syntax, Examples and Explanation

Next Post:

MATCH function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • How to use double quotes inside a formula in Excel
  • Normalize text by removing punctuations, extra spaces and more in Excel
  • Convert text to numbers using VALUE function in Excel
  • How to add a line break with a formula while joining text strings in Excel
  • Extract word that begins with specific character in Excel
  • Get month name from date in Excel
  • Get project end date in Excel
  • How to get same date next month or previous month in Excel
  • How to calculate next scheduled event in Excel
  • Get day name from date in Excel
  • NPV function: Description, Usage, Syntax, Examples and Explanation
  • PDURATION function: Description, Usage, Syntax, Examples and Explanation
  • ACCRINT function: Description, Usage, Syntax, Examples and Explanation
  • COUPPCD function: Description, Usage, Syntax, Examples and Explanation
  • Future value vs. Present value examples in Excel
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles