Home › Functions › Lookup & Reference › LOOKUP
fx
LOOKUP
Lookup & Reference  ·  Since: Excel 2003  ·  9 languages

Use LOOKUP, one of the lookup and reference functions , when you need to look in a single row or column and find a value from the same position in a second row or column.

🌐 Translations

English LOOKUP
Deutsch VERWEIS
Français RECHERCHE
Español BUSCAR
Italiano CERCA
Português PROC
Nederlands ZOEKEN
Polski WYSZUKAJ
Русский ПРОСМОТР

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

LOOKUP(lookup_value,lookup_vector,[result_vector])

Arguments

lookup_value (required) — A value that LOOKUP searches for in the first vector. Lookup_value can be a number, text, a logical value, or a name or reference that refers to a value.
lookup_vector (required) — A range that contains only one row or one column. The values in lookup_vector can be text, numbers, or logical values. Important The values in lookup_vector must be placed in ascending order: ..., -2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE; otherwise, LOOKUP might not return the correct value. Uppercase and lowercase text are equivalent.
result_vector (optional) — A range that contains only one row or column. The result_vector argument must be the same size as lookup_vector . It has to be the same size.
lookup_value (required) — A value that LOOKUP searches for in an array. The lookup_value argument can be a number, text, a logical value, or a name or reference that refers to a value. If LOOKUP can't find the value of lookup_value , it uses the largest value in the array that is less than or equal to lookup_value . If the value of lookup_value is smaller than the smallest value in the first row or column (depending on the array dimensions), LOOKUP returns the #N/A error value.
array (required) — A range of cells that contains text, numbers, or logical values that you want to compare with lookup_value. The array form of LOOKUP is very similar to the HLOOKUP and VLOOKUP functions. The difference is that HLOOKUP searches for the value of lookup_value in the first row, VLOOKUP searches in the first column, and LOOKUP searches according to the dimensions of array. If array covers an area that is wider than it is tall (more columns than rows), LOOKUP searches for the value of lookup_value in the first row. If an array is square or is taller than it is wide (more rows than columns), LOOKUP searches in the first column. With the HLOOKUP and VLOOKUP functions, you can index down or across, but LOOKUP always selects the last value in the row or column. Important The values in array must be placed in ascending order: ..., -2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE; otherwise, LOOKUP might not return the correct value. Uppercase and lowercase text are equivalent.

▶ Examples

=LOOKUP(0,A2:A6,B2:B6)
=LOOKUP(4.19,A2:A6,B2:B6)
=LOOKUP(5.75,A2:A6,B2:B6)

Related functions

Copied to clipboard