How to use the CHOOSE function
The CHOOSE function allows you to retrieve a value based on a number, cell range C3:C4 in the picture above shows you a formula that has values "hard-coded" into the formula.
Cell C5 has a formula that shows a value from row 8 using cell references.
Note, you can't use a cell range containing multiple values. You need to type each cell separated by a comma.
There is an exception to this demonstrated later in this article.
Excel function syntax
Arguments
Index_num - Determines which value is chosen. This argument is required, you can use a number between 1 and 254.
value1, value2, value3, ... - Up to 254 values Index_num can pick from. The first value is required the remaining values are optional.
Example
The picture above displays a formula that allows you to select a cell range and then a SUM function adds all numbers in the selected cell range.
Formula in cell C3 selects cell range C8:C10Â and adds the numbers 300 + 400 + 500 = 1200 is shown in cell C3.
Tip!
Use function key F9 to quickly create hard-coded values from a specific cell range, then use the values in the CHOOSE function.
- Double-click on an empty cell
- Type = (equal sign)
- Select a cell range with your mouse or type a cell range
- Press F9 to convert values in cell range to "constants" or hard-coded values
- Delete the curly brackets { }
- Use the values in your CHOOSE function
Download Excel *.xlsx file
Article with the 'CHOOSE' Function
The following article has a formula that contains the CHOOSE function.
The picture above shows the CHOOSE function in cell F3, one disadvantage is that you need to click each cell […]
Functions in 'Lookup and reference'
The CHOOSE function function is one of many functions in the 'Lookup and reference' category.
How to use the ADDRESS function
The ADDRESS function returns the address of a specific cell, you need to provide a row and column number. Formula […]
The AREAS function returns the number of cell ranges and single cells in a reference. Formula in cell B3: =AREAS(E3:E4) […]
How to use the CHOOSE function
The CHOOSE function allows you to retrieve a value based on a number, cell range C3:C4 in the picture above […]
How to use the COLUMN function
The COLUMN function returns the column number of the top left cell of a cell reference. If the argument is not […]
How to use the COLUMNS function
The COLUMNS function allows you to calculate the number of columns in a cell range. The example above shows that cell […]
How to use the FORMULATEXT function
The FORMULATEXT function returns a formula as a text string. Formula in cell C3: =FORMULATEXT(B3) Excel Function Syntax FORMULATEXT(reference) Arguments […]
How to use the HLOOKUP function
The HLOOKUP function lets you search the top row in a data range for a value and return another value […]
How to use the HYPERLINK function
The HYPERLINK function allows you to build a link in a cell pointing to something else like a file, workbook, cell, […]
Gets a value in a specific cell range based on a row and column number.
How to use the INDIRECT function
The INDIRECT function returns the cell reference based on a text string and shows the content of that cell reference. […]
How to use the LOOKUP function
Finds a value in a sorted cell range and returns a value on the same row.
Identify the position of a value in an array.
How to use the OFFSET function
The OFFSET function returns a reference to a range that is a given number of rows and columns from a […]
The ROW function calculates the row number of a cell reference. Excel Function Syntax ROW(reference) Arguments reference Optional. A reference […]
The ROWS function allows you to calculate the number of rows in a cell range. The example above shows that cell […]
How to use the TRANSPOSE function
The transpose function allows you to convert a vertical range to a horizontal range, or vice versa. A vertical range […]
How to use the VLOOKUP function
The VLOOKUP function lets you search the leftmost column for a value and return another value on the same row […]
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Use the img tag, like this: <img src="Insert pic link here">
Contact Oscar
You can contact me through this contact form