Because we are using VLOOKUP, the full name must be in the first column.

For simplicity, the table has been named “states”.

The final argument, range_lookup, has been set to zero (FALSE) to force an exact match.

Excel formula: Group numbers with VLOOKUP

VLOOKUP locates the matching entry in the “states” table, and returns the corresponding 2-letter abbreviation.

This same approach can be used to lookup and convert many other types of values.

For example, you could use VLOOKUP to map numeric error codes to human readable names.

Excel formula: VLOOKUP calculate grades

In that case, you’ll need to switch to INDEX and MATCH.

Here, we use INDEX to return whole columns by supplying a row number of zero.

you’re free to use INDEX to retrieve individual values, or entire rows and columns.

Excel formula: Get employee information with VLOOKUP

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

Excel formula: Map inputs to arbitrary values

Excel formula: VLOOKUP two-way lookup

Excel formula: Merge tables with VLOOKUP

Excel formula: VLOOKUP without #N/A error

Excel VLOOKUP function

Excel INDEX function

Excel MATCH function

Article image

Article image

Article image

Article image