*PROVIDING ACCURATE, RELIABLE AND STRAIGHT TO THE POINT KNOWLEDGE ABOUT DIFFERENT IT TOOLS EXPLAINED WITH PRACTICAL EXAMPLES*

#### CONTENTS

# EXCEL TRICKS-USING INDEX-MATCH

*INDEX-MATCH is the combination of two great functions INDEX and MATCH who are very useful in practical usage of Excel. This combination helps us to find out the values , corresponding to any lookup value from the same or another table within a fraction of seconds. It becomes very important to learn these tricks in order to be efficient in EXCEL. *

*Let us first review both of these functions individually , so that we can understand how they would work in conjunction to make our lookup better and faster.*

* *

*INDEX FUNCTION:*

*INDEX FUNCTION returns the value of a cell or array in a specified relative location given by row no. and column no. in a selected range.*

*Relative position is the position with respect to the select LOOKUP_RANGE.*

*e.g. *

*We have five COLORS and five CODES and we need to find out a value on a particular position.*

*So we can use INDEX function for this scenario and it’ll find out the item to be searched at a particular position.*

*Suppose there is a table of 4 columns and 4 rows. If we want to search that what element is present at row no. 3 and column no. 4, we’ll take help of INDEX FUNCTION.*

*If you want to have an in depth understanding of INDEX FUNCTION by solving the examples. HERE IS THE LINK.*

*MATCH FUNCTION:*

*MATCH FUNCTION looks up VALUE_TO_BE_FOUND in the given range and returns its relative position.*

*Relative position is the position with respect to the select LOOKUP_RANGE.*

*e.g. *

*We have five COLORS and five CODES and we need to find out at which position ,any specified color is present.*

*The lookup value will be color code, and the lookup range will be the range of colors.*

*The result will be the relative position of the color with respect to the selection.*

*If you want to have an in depth understanding of MATCH FUNCTION by solving the examples. HERE IS THE LINK.*

* *

*Now if you notice, both the functions are almost opposite to each other. So it is possible to combine both of them to get better use of both the functions to lookup and retrieve the value from a big pool of data. Let us see how we can use them.*

## COMBINING INDEX AND MATCH

Index and Match functions are opposite to each other.

Index function finds out the value of an item at a particular location in an array whereas Match function returns the relative position of an item after matching it from a given list.

So we can combine both the functions to retrieve the value from any column, against a lookup value which will be searched by the MATCH function for us. Let us try to put this in the form of a function.

Syntax is given in the next Section.

## PURPOSE OF INDEX-MATCH IN EXCEL

The combined INDEX-MATCH functions can be used to pull out any value which is corresponding to the another lookup value from another set of data which may or may not be on the same sheet.

## SYNTAX: INDEX-MATCH

The INDEX-MATCH FUNCTION will be used in the following format when used for lookup.

**=INDEX( Array from where the value is finally needed , MATCH(LOOKUP VALUE, Array in which the value will be found, match mode ), relative column number ) **

**Array from where the value is finally needed**This is the table from which the value will be extracted finally

**MATCH Lookup Value**The unique value on the basis of which , we’ll find the desired value.

**Array in which the value will be found**This is the column where the value will be found

**Match Mode**Different match modes of MATCH FUNCTION.

**Relative Column Number**The column number of the INDEX (first argument) which will be returned for the value after the matching has been done.

## EXAMPLE 1:INDEX MATCH SIMPLE LOOKUP

We have a data sample with the students having different marks in different subjects. We’ll try a simple lookup of the data through index match first.

The data given is shown in the picture.

STUDENTS | MATHEMATICS | SCIENCE | ARTS | LANGUAGE | SOCIAL SCIENCE |

ASHU | 89 | 85 | 96 | 69 | 85 |

DAVID | 85 | 96 | 95 | 67 | 54 |

JOE | 96 | 56 | 82 | 83 | 87 |

CREG | 85 | 89 | 98 | 69 | 67 |

RAM | 75 | 79 | 78 | 91 | 58 |

PETER | 96 | 78 | 94 | 97 | 96 |

We’ll try to find the student with 83 marks in LANGUAGE. After that we’ll find the person who got 67 marks too.

EXPLANATION:

We put the formula as

=INDEX(G7:G12,MATCH(83,K7:K12,0),1)

G7:G12 is the table from which we need the result. Right now we selected just the column from where we need the name.

Match started as it’d return us the index.

83 is the value to be found.

k7:k12 IS THE ARRAY WHERE 67 WILL BE COMPARED WITH.

0 IS THE EXACT MATCH

Third argument of INDEX function is the column number to return which is 1 as we have selected single column.

The result appears as JOE which is correct.

After this we change the lookup value as 67 and see that result changes to David.

## EXAMPLE 2:INDEX MATCH LOOKUP

### DATA SAMPLE

STUDENTS | MATHEMATICS | SCIENCE | ARTS | LANGUAGE | SOCIAL SCIENCE |

ASHU | 89 | 85 | 96 | 69 | 85 |

DAVID | 85 | 96 | 95 | 67 | 54 |

JOE | 96 | 56 | 82 | 83 | 87 |

CREG | 85 | 89 | 98 | 69 | 67 |

RAM | 75 | 79 | 78 | 91 | 58 |

PETER | 96 | 78 | 94 | 97 | 96 |

Let us try to find out the highest marks in Science.

### EXPLANATION

## CONFUSION CLARIFICATIONS

### THE RELATIVE ROW AND COLUMN NUMBER

A cell is filled with YELLOW COLOR which we want to find. Now let us see in how many ways we can get this value.

The row and column number of the INDEX FUNCTION is relative to the RANGE SELECTED.

If we select Table 1, the value to be found will be at the row no. 4 and column no. 3.

If we select Table 2, the value to be found will be at the row no. 4 and column no. 3 again.

If we select Table 3, the value to be found will be at the row no. 3 and column no. 2.

So all these three different notations result in the same result. So always take care of the range selected and row and column no. selected.

OTHER WAYS TO REACH THIS ARTICLE

## WHAT IS EXCEL, HOW EXCEL WORKS, WRITE FORMULA IN EXCEL, EXAMPLE OF USING FORMULA IN EXCEL, ANIMATED EXAMLPE OF USING FORMULA IN EXCEL

YOU MAY LIKE

- HOW TO TROUBLESHOOT A FORMULA IN EXCEL?
- USE OF FONTS, FONT SIZE, INDENTATION, TEXT TO THE RIGHT, TEXT TO THE LEFT, TEXT IN THE MIDDLE ETC.
- how to insert table in excel?
- FOR MORE ARTICLES, CLICK EXCEL OR TYPE IN SEARCH BELOW.