Explanation
This formula uses the value in cell F7 for a lookup value, the range B6:C10 for the lookup table, the number 2 to indicate “2nd column”, and zero as the last argument to force an exact match.
Although in this case we are mapping text values to numeric outputs, the same formula can handle text to text, or numbers to text.
Related formulas
VLOOKUP calculate grades
Get employee information with VLOOKUP
VLOOKUP two-way lookup
Merge tables with VLOOKUP
VLOOKUP without #N/A error
Sum text values like numbers
Map inputs to arbitrary values
Related functions
VLOOKUP Function
The Excel VLOOKUP function is used to retrieve information from a table using a lookup value.
The lookup values must appear in thefirstcolumn of the table, and the information to retrieve is specified bycolumn number.
VLOOKUP supports approximate and exact matching…