Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • Two-way lookup with VLOOKUP in Excel
  • How to use Excel COLUMN Function
  • Count rows with at least n matching values
  • Last row number in range
  • Count rows that contain specific values in Excel

Data Analysis Examples

  • Conditional Formatting Icon Sets Examples in Excel
  • Working With Tables in Excel
  • How To Insert and Customize Sparklines in Excel
  • Excel Pie Chart
  • How To Perform and Interpret Regression Analysis in Excel

Data Validation Examples

  • Excel Data validation no punctuation
  • Excel Data validation date in next 30 days
  • Excel Data validation only dates between
  • Excel Data validation whole percentage only
  • Excel Data validation number multiple 100

Basic INDEX MATCH exact in Excel

by

This tutorial shows how to calculate Basic INDEX MATCH exact in Excel using the example below;

Formula

=INDEX(data,MATCH(value,lookup_column,FALSE),column)

Explanation

This example shows how to use INDEX and MATCH to get information from a table based on an exact match. In the example shown, the formula in cell H6 is:

=INDEX(B5:E9,MATCH(H4,B5:B9,FALSE),2)

which returns 1995, the year the movie Toy Story was released.

How this formula works

This formula uses MATCH to get the row position of Toy Story in the table, and INDEX to retrieve the value at that row in column 2.

Worked Example:   Excel Advanced Lookup using Index and Match Functions

MATCH is configured to look for the value in H4 in column B:

MATCH(H4,B5:B9,FALSE)

Note that the last argument is FALSE, which forces MATCH to perform an exact match.

MATCH finds “Toy Story” on row 4 and returns this number to INDEX as the row number. INDEX is configured with an array that includes all the data in the table, and the column number is hard-coded as 2. Once MATCH returns 4 we have:

=INDEX(B5:E9,4,2)

INDEX then retrieves the value at the intersection of the 4th row and 2nd column in the array, which is “1995”.

Worked Example:   How to get relative row numbers in a range in Excel

The other formulas in the example are the same except for the column number:

=INDEX(B5:E9,MATCH(H4,B5:B9,FALSE),2) // year
=INDEX(B5:E9,MATCH(H4,B5:B9,FALSE),3) // rank
=INDEX(B5:E9,MATCH(H4,B5:B9,FALSE),4) // sales

INDEX with a single column

In the example above, INDEX receives an array that contains all data in the table. However, you can easily rewrite the formulas to work with one column only, which eliminates the need to supply a column number:

=INDEX(C5:C9,MATCH(H4,B5:B9,FALSE)) // year
=INDEX(D5:D9,MATCH(H4,B5:B9,FALSE)) // rank
=INDEX(E5:E9,MATCH(H4,B5:B9,FALSE)) // sales

In each case, INDEX receives an single-column array that corresponds to the data being retrieved, and MATCH supplies the row number.

Worked Example:   Extract multiple matches into separate rows in Excel

Post navigation

Previous Post:

Basic Tax Rate calculation with VLOOKUP in Excel

Next Post:

Basic INDEX MATCH approximate in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • How to count total words in a cell in Excel
  • RIGHT, RIGHTB functions: Description, Usage, Syntax, Examples and Explanation
  • How to split text string at specific character in Excel
  • Put names into proper case — Manipulating NAMES in Excel
  • TEXTJOIN function: Description, Usage, Syntax, Examples and Explanation
  • Add business days to date in Excel
  • Get days between dates ignoring years in Excel
  • Calculate expiration date in Excel
  • Get work hours between dates and times in Excel
  • Sum race time splits in Excel
  • ODDFPRICE function: Description, Usage, Syntax, Examples and Explanation
  • Calculate loan interest in given year in Excel
  • NPV function: Description, Usage, Syntax, Examples and Explanation
  • ODDFYIELD function: Description, Usage, Syntax, Examples and Explanation
  • YIELDMAT function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles