Open In App

Using CHOOSE Function along with VLOOKUP in Excel

In Excel, managing space is a very important point to consider. Now, let’s suppose you are in a situation where you want to compare multiple columns in the Excel dataset, and you want to derive results, This is not possible using the VLOOKUP function alone. So, to make a function capable of doing something like this, we will introduce a special function known as CHOOSE function. But, if you don’t want to use CHOOSE function, then you have to use a helper column, making the job a little hectic.

So, in this article, we will see how to use VLOOKUP along with CHOOSE function.



First, we will see the syntax of CHOOSE FUNCTION in brief.

CHOOSE FUNCTION:

Syntax:



=CHOOSE(ARRAY DIMENSIONS(INDEX VALUE(S)),VALUE(1),VALUE(2),VALUE(3),.....)

Here,

  1.  Here we will define array dimensions, ie how many columns should the array have.
  2. The next parameter(s) will define what value will go in the subsequent array columns, ie VALUE1 will get filled in the first column, and so on.   

Example:

Here we will use this dataset. Let’s suppose we have people in a sales firm, and they are evaluated for bonuses. Now, we want to know who did sales for BED SHEETS, by using VLOOKUP and CHOOSE function. So, first of all, let’s see what the formula is, and then we will understand it part by part.

=VLOOKUP(B9,CHOOSE({1,2},C2:C6,A2:A6),2,TRUE)

Here the output will be as shown below:

Now, we will see part by part how this formula worked:

Note: The formula above will use an array, so to execute it use Ctrl+Shift+Enter key combination.

The disadvantage of the above function is that VLOOKUP is not capable of doing a case-sensitive search, so to enhance VLOOKUP you have to make it case sensitive. For reference visit this article.

Article Tags :