How To Use Index and Match
How To Use Index and Match
IN THIS TASK
• SUMMARY
• Create the Sample Worksheet
• Term Definitions
• Functions
• LOOKUP()
• VLOOKUP()
• INDEX() and MATCH()
• OFFSET() and MATCH()
Summary
This step-by-step article describes how to find data in a table (or range
of cells) by using various built-in functions in Microsoft Excel. You can
use different formulas to get the same result.
https://support.microsoft.com/en-us/help/324861/how-to-find-data-in-an-excel-table 7/26/2018
How to find data in an Excel table Page 2 of 7
You will type the value that you want to find into cell E2. You can type
the formula in any blank cell in the same worksheet.
A B C D E
Find
1 Name Dept Age
Value
2 Henry 501 28 Mary
3 Stan 201 19
4 Mary 101 22
5 Larry 301 29
back to the top
Term Definitions
This article uses the following terms to describe the Excel built-in
functions:
Term Definition Example
The whole lookup
Table_Array A2:C5
table.
The value to be found
Lookup_Value in the first column of E2
Table_Array.
Lookup_Array The range of cells that
-or- contains possible A2:A5
Lookup_Vector lookup values.
The column number
in Table_Array the
3 (third column in
Col_Index_Num matching value
Table_Array)
should be returned
for.
A range that contains
only one row or
Result_Array
column. It must be
-or- C2:C5
the same size as
Result_Vector
Lookup_Array or
Lookup_Vector.
Range_Lookup A logical value (TRUE FALSE
or FALSE). If TRUE or
omitted, an
https://support.microsoft.com/en-us/help/324861/how-to-find-data-in-an-excel-table 7/26/2018
How to find data in an Excel table Page 3 of 7
approximate match is
returned. If FALSE, it
will look for an exact
match.
This is the reference
from which you want
to base the offset.
Top_Cell must refer to
Top_Cell a cell or range of
adjacent cells.
Otherwise, OFFSET
returns the #VALUE!
error value.
This is the number of
columns, to the left or
right, that you want
the upper-left cell of
the result to refer to.
For example, "5" as
the Offset_Col
argument specifies
that the upper-left
cell in the reference is
Offset_Col
five columns to the
right of reference.
Offset_Col can be
positive (which means
to the right of the
starting reference) or
negative (which
means to the left of
the starting
reference).
back to the top
Functions
LOOKUP()
https://support.microsoft.com/en-us/help/324861/how-to-find-data-in-an-excel-table 7/26/2018
How to find data in an Excel table Page 4 of 7
back to top
VLOOKUP()
https://support.microsoft.com/en-us/help/324861/how-to-find-data-in-an-excel-table 7/26/2018
How to find data in an Excel table Page 5 of 7
Knowledge Base:
You can use the INDEX and MATCH functions together to get the
same results as using LOOKUP or VLOOKUP.
You can use the OFFSET and MATCH functions together to produce
the same results as the functions in the previous example.
https://support.microsoft.com/en-us/help/324861/how-to-find-data-in-an-excel-table 7/26/2018
How to find data in an Excel table Page 6 of 7
https://support.microsoft.com/en-us/help/324861/how-to-find-data-in-an-excel-table 7/26/2018
How to find data in an Excel table Page 7 of 7
https://support.microsoft.com/en-us/help/324861/how-to-find-data-in-an-excel-table 7/26/2018