QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to Use INDEX and MATCH Functions in Excel?

By Neha T Leave a Comment

Have you ever used the Index and Match formulas of Excel? Well, both of these formulas are used to perform lookups. They can even be used together which will let you perform the two-way lookup.

INDEX function

The INDEX function returns a value or a reference to a value that occurs at a specific position in the provided reference range.

The INDEX function has two forms:

  1. Array Form
    The array form of the INDEX function returns a value or a reference to a value. The position of the value in the provided array is specified by the row and column number indexes.
    Syntax
    INDEX(array, row_num, [column_num])
  1. Reference form
    The reference form of the INDEX function returns a value of the cell that is present at the intersection of specified row and column indexes.
    If there are more than one reference area then this formula allows you to select the area to look into.
    Syntax
    INDEX(reference, row_num, [column_num], [area_num])

MATCH function

The match function returns the position of an item in the specified range.

Syntax
MATCH(lookup_value, lookup_array, [match_type])

In the section ahead we will be discussing the use of both of these formulae with the help of an example.

Why do we require MATCH function along with INDEX function?

To evaluate the INDEX function, we have to provide the element’s exact row and column number in the specified range. But you hardly remember the position of an element in a spreadsheet. The MATCH function provides the position of an element in the specified range.

That’s why we use the MATCH function along with the INDEX function.

Steps to INDEX and MATCH Functions in Excel:

INDEX Function (Array Form)

We have data of some employees and their sales record in the North, East, West and South region.

Index -01

Now let us apply the INDEX function to this data. Simply we would write:

=INDEX(A3:A15, 4, 1)

Here A3:A15 specifies the array range where we have to look for the value that is present at the intersection of the 4th row and 1st column as specified in the formula. And the result for this formula is:

As in the provided array at the 4th row and 1st column the value is “Charles”.

Index -02

While specifying the row and column in the provided array if you go beyond the array range you will receive a #REF! error.

Index -03

Example 1: Find out the sales of Charles in the East and South region.

The INDEX function to find the answer to the above query for the East region is:

=INDEX(B3:E15, 4, 2)

This query will search the 4th row and 2nd column of the array B3:E15. As 4th row in the provided range has data related to Charles and the 2nd column has a sales report of the East region.

For South region:

=INDEX(B3:E15, 4, 4)

Index -04

MATCH Function

Example 2: Find out the position of Charles in the data given above.

The MATCH function for the above query is:

=MATCH(A6, A3:A15, 0)

Here the A6 is a cell where Charles is written, A3:A15 is a range where we have to search for Charles and 0 ensures the exact match.

Match - 02

The MATCH function can also be written as:

=MATCH(“Charles”, A3:A15, 0)

Match - 03

INDEX and MATCH Function

Example 3: Find out the sales of Charles in the East region. Use MATCH along with the INDEX function.

= INDEX(B3:E15, MATCH(A6, A3:A15,0), MATCH(C2, B2:E2,0))

MATCH(A6, A3:A15,0) this MATCH function evaluates the position of “Charles”. And the evaluated value act as a row number for the INDEX function.

MATCH(C2, B2:E2,0) ) this MATCH function evaluates the position of “East”. And the evaluated value act as a column number for the INDEX function.

Index and Match - 03

Example 4: Find out the sales of Charles in the South region. Use MATCH along with the INDEX function.

= INDEX(B3:E15, MATCH(A6, A3:A15,0), MATCH(E2, B2:E2,0))

Index and Match - 04

INDEX Function (Reference Form)

If there are multiple reference ranges, you can specify from which range you want the answer.

Example 5: Find out sales value at the intersection of the 2nd row and 2nd column in the second reference area.

=INDEX((B4:E6, I4:L6, B11:E13, I11:L13), 2, 2, 2)

Here, B4:E6, I4:L6, B11:E13 and I11:L13 are the four non-adjacent reference ranges, where we have to look for the intersection of the 2nd row and 2nd column in the second reference area.

Index Reference from - 01

Example 6: Find out sales value at the intersection of 2nd row and 3rd column in the fourth reference area.

=INDEX((B4:E6, I4:L6, B11:E13, I11:L13), 2, 2, 2)

Here, B4:E6, I4:L6, B11:E13 and I11:L13 are the four non-adjacent reference ranges, where we have to look for the intersection of 2nd row and 3rd column in the fourth reference area.

Index Reference from - 02

So this is all how you can use INDEX and MATCH function Excel.

You Might Also Like:

count unique values featured imageHow to Count Unique Values in Excel 2016? Sumif feature imageHow to SUMIF in Excel? Create a named range in Excel feature imageHow to Create Named Range in Excel? Delete Duplicates feature imageHow to Delete Duplicates in Excel 2016? feature imageHow to COUNTIF in MS Excel 2016? compare two columns in Excel Feature imageHow to Compare Two Columns to Find Matches & Differences in Excel 2016? how-to-use-vlookup-in-ms-excel-2016-featured-imageHow to use VLOOKUP in MS Excel 2016? How to Concatenate in Excel -featured imageHow to Concatenate Multiple Cells in MS Excel 2016?

Leave a Reply Cancel reply

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

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to create a flipkart account in 3 simple steps
  • How to Add bcc in Outlook 2007
  • How to Create a Desktop Shortcut on Windows 10
  • How to Enable and Disable Firewall in Ubuntu
  • How to change your Paytm password

Copyright © 2023 · QueHow · Contact Us