where score (C5:C9) and rating (B5:B9) are named ranges. One workaround is to restructure the lookup table itself, and move the lookup column to the left of lookup value(s). That’s the approach taken in this example, which uses the CHOOSE function reverse rating and score like this: Normally, CHOOSE is used with a single index number as the first argument, and remaining arguments are the values to choose from. However, here we give choose an array constant for index number containing two numbers: {1,2}. Essentially, we are asking choose for both the first and second values. The values are provided as the two named ranges in the example: score and rating. Notice however that we are providing these ranges in reversed order. The CHOOSE function selects both ranges in the order provided and returns the result as a single array like this: CHOOSE returns this array directly to VLOOKUP as the table array argument. In other words, CHOOSE is delivering a lookup table like this to VLOOKUP:

Using the lookup value in E5, VLOOKUP locates a match inside the newly created table, and returns a result from the second column.

### Reordering with the array constant

In the example shown, we are reordering the lookup table by reversing “rating” and “score” inside the chose function. However, we could instead use the array constant to reorder like this: The result is exactly the same.

### With INDEX and MATCH

While the above example works fine, it isn’t ideal. For one thing, most average users won’t understand how the formula works. A more natural solution is INDEX and MATCH. Here is the equivalent formula: In fact, this is a good example of how INDEX and MATCH is more flexible than VLOOKUP.

### Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.