Académique Documents
Professionnel Documents
Culture Documents
Note It is not necessary to sort the lookup table if you use the
range_lookup argument correctly.
More Information
VLOOKUP Function
=VLOOKUP(lookup_value,table_array,col_in
dex_num,range_lookup)
where:
The following list contains some fruits and their respective colors.
Notice that the first column is not sorted:
The following formula finds the color (Red) that corresponds to the
fruit Apple. You can type the formula in any cell on the worksheet:
=VLOOKUP("Apple",A2:B5,2,FALSE)
=HLOOKUP(lookup_value,table_array,row_index
_num,range_lookup)
where:
The following list contains some fruits and their respective colors.
Notice that the first column is not sorted:
A1: Fruit B1: Color
A2: Kiwi B2: Green
A3: Banana B3: Yellow
A4: Grape B4: Purple
A5: Apple B5: Red
The following formula finds the Color column, and returns the third
item (-1) for the heading Yellow. You can type the formula in any cell
on the worksheet:
=HLOOKUP("Color",A1:B5,3,FALSE)
References
Properties
Applies to
Microsoft Excel 2002 Standard Edition, Microsoft Excel 2000 Standard
Edition, Microsoft Excel 97 Standard Edition, Microsoft Office Excel 2003,
Microsoft Excel 2010, Microsoft Office Excel 2007, Excel 2016, Excel 2013