Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use the CHOOSE Function in Excel

Learn how to use CHOOSE Function in Excel, including its purpose, syntax, examples, and common errors, with clear step-by-step guidance.

Table of Contents

This guide explains how to use CHOOSE Function in Excel, including its syntax, required arguments, practical examples, and common errors.

1. The Choose function

Description: The Choose function is a simple and often used lookup function in excel.

Syntax: CHOOSE (index_num, value1, [value2].) .

Inside:

- index_num : Location of returned data, for example if index_num = 1 => return value is value 1, index_num = 2 => return value is value2. The index_num value must be an integer or the result of a formula but must be an integer value. The index_num limit is between 1 and 29.

- value1 : Return value 1.

- value2 : The second return value.

Value values range from 1 to 29.

Note: If index_num valueis not an integer, the #Value! Error value is returned.

2. Ham Sum

Description: The Sum function is the sum function in excel.

Syntax : SUM (number 1, number 2. ) .

In which : number 1, number 2. are the values to be calculated.

3. Example of using the Choose function in combination with the Sum function

For example, there is the following data table, calculating the total sold and the total number of items sold using the Choose function combined with Sum.

3. Example of using the Choose function in combination with the Sum function screenshot

- Calculate the total amount sold

In the cell to calculate enter the formula: = SUM (CHOOSE (2, D8: D14, F8: F14)) .

3. Example of using the Choose function in combination with the Sum function screenshot 2

Press Enter -> total amount sold is:

3. Example of using the Choose function in combination with the Sum function screenshot 3

- Calculate the number of items sold

Copy the formula to calculate the total amount to fix the index_num value in Choose by 1: = SUM (CHOOSE (1, D8: D14, F8: F14)) . Because the quantity column value is at the 1st position among the value values of the Choose function, Index_num = 1.

3. Example of using the Choose function in combination with the Sum function screenshot 4

Pressing Enter will get the result:

3. Example of using the Choose function in combination with the Sum function screenshot 5

Thus, using the Choose function helps you calculate conditional sum simply in the fastest way.

Good luck!

FAQ

What does the CHOOSE function do in Excel?

The CHOOSE function performs the calculation described in this guide. Use the correct arguments and compatible data types for reliable results.

How do I enter the CHOOSE function correctly?

Start with an equals sign, enter CHOOSE, add the required arguments inside parentheses, and confirm that cell references and separators are correct.

Why does the CHOOSE function return an error?

Common causes include missing arguments, invalid data types, incorrect cell references, unsupported values, or regional separator settings.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.