In this article, we will learn about how to use the CHOOSE function in Excel.
Excel CHOOSE function takes values and return the value corresponding to a particular index_num.
Index_num : number corresponding to the required value
Value1 : first value
Value2 : second value
Note: the function returns a #VALUE! Error if index_num is greater than the number of values given as input.
Let’s learn about this function via using it an example.
Here we have some employee ID and we need their names.
Use the formula:
A2 : index_num
Anthony : value 1
Andrew : value 2
Michelle : value 3
As you can see from the above snapshot that values are called using index_num in argument.
Copy the formula in other cells using Ctrl + D shortcut key.
This is how CHOOSE function retrieves values from the values as arguments.
CHOOSE function usually used with other functions
1. We will use the combination with Mathematical functions like SUM function
Here we have some values and needs to find the SUM of values in column B.
Use the formula:
The CHOOSE function will calls the second value
This will drop down to
2. We will use a Combination of CHOOSE with DATE & TIME functions like MONTH function.
Use the function
MONTH function returns a number and the number will be the index_num for the CHOOSE function.
Values corresponding to the number will be the return value of the formula.
As you can see here, you can rename the Month names as per your convenience.
3. We will use a Combination of CHOOSE with LOOKUP functions like VLOOKUP function.
Use the formula in F2 cell:
Note : Do not try to put curly braces manually. Use Ctrl + Shift + Enter
As you can see CHOOSE function is very helpful when combined with other functions.
Hope you understood how to use RADIANS function and PI function in Excel. Explore more articles on Excel Date & Time functions here. Please feel free to state your query or feedback for the above article.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.