Choose function in Excel, how to use the Choose function and illustrative examples
You are looking for ways to use the CHOOSE function in Excel so you can use the CHOOSE function quickly. So, please refer to the following article for syntax of CHOOSE function, for example using CHOOSE function in Excel.
Below the article describes, syntax and examples of using CHOOSE function in Excel, please follow along and learn.
Description of the Choose function
The Choose function will return a value in the input value values based on the index_num index you specified. You can understand the CHOOSE function to help find a value in a value chain, this function is used quite often when combined with other functions.
The syntax of the Choose function
= CHOOSE (index_num; value1; [value2]; .)
Inside:
- Index_num is a required argument, this is the index you specify the return value in the argument list.
- Value1 is a required argument, this is the value or reference to the first value in the value list of the CHOOSE function.
- Value2 . is an optional argument, these are the next values in the CHOOSE function's value list. Excel supports up to 254 values, values can be numbers, cell references, defined names, formulas, functions, or text.
Note
- If index_num is 1, CHOOSE will return value1; similarly if index_num is 2 then CHOOSE will return value2 .
- If index_num index_num is greater than the index of the last value in the argument list, CHOOSE will return the #VALUE! Error value.
- If index_num is a fraction (decimal), it will be the lowest integer to use.
- The value1, value2 . arguments of the CHOOSE function can be range references as well as individual values.
Example of the Choose function
Example 1: Using the Choose function returns the value 2.
Example 2: Use the CHOOSE function in combination with the SUM function to sum.
Suppose you have the following data table:
Request:
1. Calculate the total amount sold.
You enter the function
= SUM (CHOOSE (2; D6: D14; E6: E14))
According to the above function, CHOOSE will return data in columns E6: E14, then the SUM function will sum the values in columns E6: E14.
To apply the calculation to the following request, while entering the SUM formula combined with the CHOOSE function, press the F4 key after selecting each Value value in the CHOOSE function. From function
= SUM (CHOOSE (2; D6: D14; E6: E14))
you guys will be functional
= SUM (CHOOSE (2; $ D $ 6: $ D $ 14; $ E $ 6: $ E $ 14))
2. Calculate the total quantity sold.
You only need to copy the function formula when you have fixed the data ranges.
Then correct the index_num index to 1 (the Sales Quantity column) so that CHOOSE returns the range of data in the Sales Quantity column and the SUM function sums the values in this column.
Above TipsMake.vn has shared with you the description, syntax and examples of using CHOOSE function in Excel. In addition to using CHOOSE function in combination with SUM function, you can use CHOOSE function in combination with other functions such as IF, VLOOKUP, WEEKDAY . to be able to process data effectively. Good luck!
You should read it
- OR function in Excel, how to use the OR function, and examples
- DCount function in Excel - How to use the DCount function and examples using the DCount function
- INDIRECT function in Excel - How to use INDIRECT function and examples using INDIRECT function
- VLOOKUP function to use and specific examples
- Offset function in Excel - Usage and examples
- IRR function in Excel - Usage and examples
- The MID function in Excel, how to use the MID function, and examples
- DSUM function in Excel, how to use DSUM function and examples
May be interested
- DSUM function in Excel, how to use DSUM function and examplesdsum function in excel, how to use dsum function and examples. the dsum function in excel is a fairly common function with a fairly simple usage. but if you do not know how to use the dsum function, you can refer to the following article to understand h
- LEFT function in Excel, how to use LEFT function and illustrative examplesleft function in excel, how to use left function and illustrative examples. left function in excel is a function of string processing function, you use left function when you need to cut the character string to the left of the text string. if you need to learn more about mid functions, be patient
- The MID function in Excel, how to use the MID function, and examplesthe mid function in excel, how to use the mid function, and examples. the mid function in excel is a function of the text function group, you use the mid function if you want to cut the string in the middle of the text string when processing the string. if you do not know or do not understand the mid function, then you
- DCount function in Excel - How to use the DCount function and examples using the DCount functiondcount function in excel - how to use the dcount function and examples using the dcount function you have a large list of students who want to get a high total score, but don't want to spend a lot of time. in this article, introduce to you the dcount function in excel. help c
- Functions rounded up, how to round up in Excelfunctions rounded up, how to round up in excel. you are looking for rounding up functions to round numbers up in excel. so, please refer to the following article to know how to round up using functions in excel.
- INDIRECT function in Excel - How to use INDIRECT function and examples using INDIRECT functionindirect function in excel - how to use indirect function and examples using indirect function. you want to refer to a range of data without changing the formula in the cell. the following article introduces you to the indirect function in excel to help you reference