Explanation

Introduction

A key limitation ofVLOOKUPis it can only look up values to theright.

Notice zero (0) is provided as the last argument to force an exact match.

Effectively, we have swapped columns 1 and 3.

The table we have versus the table we need

This formula shows how INDEX and MATCH can be more flexible than VLOOKUP.

With XLOOKUP

XLOOKUP also provides a very good solution.

Because XLOOKUP performs an exact match by default, there is no need to set the match mode explicitly.

The table we have versus the table we need

The values provided to CHOOSE can include references.

you’ve got the option to use INDEX to retrieve individual values, or entire rows and columns.

MATCH supports approximate and exact matching, andwildcards(* ?)

The table we have versus the table we need

XLOOKUP supports approximate and exact matching, wildcards (* ?)

The table we have versus the table we need

The table we have versus the table we need

Table rearranged by CHOOSE function

Excel formula: Left lookup with VLOOKUP

Excel formula: VLOOKUP with variable table array

Excel formula: VLOOKUP two-way lookup

Excel formula: Merge tables with VLOOKUP

Excel formula: VLOOKUP without #N/A error

Excel VLOOKUP function

Excel CHOOSE function

Excel INDEX function

Excel MATCH function

Excel XLOOKUP function

Article image

Article image

Article image