0% found this document useful (0 votes)
11 views

Lookup Functions in Excel

Uploaded by

pankajkumardev3
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Lookup Functions in Excel

Uploaded by

pankajkumardev3
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Lookups

Functions in
Microsoft
Excel

Lookup functions are helpful for a


large range of data to find
particular data in rows or
columns.
1. Lookup()
Look up the value from a one-row, one-
column range, or array.
Syntax:
Vector form:
LOOKUP(lookup_value, lookup_vector, [result_vector])
Array form:
LOOKUP(lookup_value, array)
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.
The lookup function has limited functionality.

Vector form: Array form:


2. Vlookup()
Look for the value in the leftmost column
of a table, and then return a value in the
same row from a column you specify.
Syntax:
=VLOOKUP(lookup_value,table_array,column_index_num,[range
_lookup])
You can use the wildcard characters—the question mark (?) and
asterisk (*)—in lookup_value. A question mark matches any
single character. An asterisk matches any sequence of
characters.
“V” stands for Vertical
3. Hlookup()
Look for the value in the top row of the
table or array of values and return the
value in the same column from a row you
specify.
Syntax:
=HLOOKUP(lookup_value, table_array, row_index_num,
[range_lookup])
“H” stands for Horizontal
4. Index()
The INDEX function returns a value or the
reference to a value from within a table or
range.
There are two ways to use the INDEX function:
If you want to return the value of a specified cell or array of cells.
Returns the value of an element in a table or an array, selected by
the row and column number indexes. Use the array form if the
first argument to INDEX is an array constant.
Syntax:
=INDEX(array, row_num, [column_num])

1
4. Index()
The INDEX function returns a value or the
reference to a value from within a table or
range.
There are two ways to use the INDEX function:
If you want to return a reference to specified cells. Returns the
reference of the cell at the intersection of a particular row and
column. If the reference is made up of non-adjacent selections,
you can pick the selection to look in.
Syntax:
=INDEX(reference, row_num, [column_num], [area_num])

2
5. Match()
Searches for a specified item in a range of
cells, and then returns the relative position
of that item in the range.
Syntax:
=MATCH(lookup_value, lookup_array, [match_type])

Pos(#)
Pos(1)
Pos(2)
Pos(3)
Pos(4)
6. Index() + Match()
The combination of the INDEX and MATCH
functions. The INDEX function uses the
result of the MATCH function as its
argument.
Syntax:
=INDEX(Reference Table ,
[Match(SearchKey,Range,Type)/StaticRowPosition],
[Match(SearchKey,Range,Type)/StaticColumnPosition])

Example 01:
6. Index() + Match()
The combination of the INDEX and MATCH
functions. The INDEX function uses the
result of the MATCH function as its
argument.
Syntax:
=INDEX(Reference Table ,
[Match(SearchKey,Range,Type)/StaticRowPosition],
[Match(SearchKey,Range,Type)/StaticColumnPosition])

Example 02:
7. Xlookup()
Xlookup function is an improved version
of Vlookup and Hlookup that works in any
direction and returns exact matches by
default, making it easier and more
convenient than its predecessor. Xlookup
is simpler to use and less prone to error.
Syntax:
=XLOOKUP(lookup_value, lookup_array, return_array,
[if_not_found], [match_mode], [search_mode])

XLOOKUP uses a lookup array and a return array, whereas VLOOKUP


uses a single table array followed by a column index number.
8. XMatch()
The XMATCH function returns the relative
position of an item in an array or range of
cells.
Syntax:
=XMATCH(lookup_value, lookup_array, [match_mode],
[search_mode])
Share
&
Like

Thank You…

You might also like