Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Create Frequency Distribution in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • Subtotal function in Excel
  • Get column index in Excel Table
  • How to sum a total in multiple Excel tables

References

  • Two-column Lookup in Excel
  • How to get first row number in range in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Multi-criteria lookup and transpose in Excel
  • How to use Excel TRANSPOSE Function

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation must contain specific text
  • Excel Data validation specific characters only
  • Excel Data validation number multiple 100
  • Excel Data validation only dates between

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:   Basic text sort formula in Excel

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:   Excel MAX, MATCH and ADDRESS function illustration

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:   Get column name from index in Excel Table

Post navigation

Previous Post:

Weighted average in Excel

Next Post:

Win loss points calculation 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

Logical Functions

  • How to use Excel OR Function
  • IF with wildcards in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel NOT Function

Date Time

  • How to get same date next year or previous year in Excel
  • Check If Two Dates are same month in Excel
  • Roll back weekday to Friday base on a particular date in Excel
  • How to Calculate Age in Excel
  • How to get number of days, weeks, months or years between two dates in Excel

Grouping

  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel
  • If cell contains one of many things in Excel
  • Running count group by n size in Excel
  • Calculate conditional mode with criteria in Excel

General

  • 231 Keyboard Shortcut Keys In Excel
  • AutoRecover file that was never saved in Excel
  • Check if multiple cells have same value in Excel
  • Common Errors in Excel
  • How to get amount with percentage in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning