Skip to main content

MATCH Function:

MATCH Function:


  

 

Summary

The MATCH function searches an item in a range of cells and then returns the relative position of that item in the range. For example, if the range is H4:H7 contains the values SONU, PAWAN, HARUN, and RITTULBHAI, then the formula =MATCH("HARUN",$H$4:$H$7,0) returns the number 3 because HARUN is the third item in the range.


Trick Tip: You can use the MATCH function to provide a value for the row_num argument of the INDEX function, using this function you don't need to write numbers manually. So, advise you to use this MATCH function with INDEX function, VLOOKUP, HLOOKUP, etc.

First will let you know about the purpose and syntax of the same.

 

Purpose

The MATCH function can use to searches an item in a range of cells and then returns the relative position of that item in the range.


Arguments & Syntax

 

 As given above syntax contain 3 different arguments, meaning of the same is given below.

 

Arguments

Meaning

lookup_value

The value is common in both the data and looking for the position of the same in the array table.

lookup_array

The table specified as a range from which to retrieve the position of the lookup_value.

[match_type]

The same is optional

less then, Exact Match or Greater than valued by 1, 0, -1

  

Translation

 So now we will start using a sample data table. This table contains Names.

 Formula entered above: =MATCH("HARUN",$H$4:$H$7,0)

Syntax =MATCH(lookup_value,lookup_array,[match_type])

 

Sr. No.

Argument

Value

1

lookup_value

HARUN

2

lookup_array

$H$4:$H$7

3

[match_type]

0 for an exact match

In the above table, HARUN is the value, of which position we are trying to identify in the range of$H$4:$H$7. In this range, HARUN is in the third position so the return value is 3.

Click here to open ASHVI CITY – Mr. Excel visualizes learning sessions on my YouTube channel.


Function Return Value

The value is the position of the lookup_value.


Functions Used

=MATCH("HARUN",$H$4:$H$7,0)

 

Evaluation Operator

Meaning

=

Equal To

$

To block the selected cell or range

To give functional value to a word

 

Common Difficulties


ERROR

Meaning of Error

#NAME? in cell

This usually means that the formula is misspelled.

#N/A   

This usually means that the formula is misspelled.


Important Notes:

(1) While any formula execution if we are using any word like used above HARUN, we need to cap the word with a double-quote ( " ).

(2) MATCH does not distinguish between uppercase and lowercase letters when matching text values.

(3) If match_type is 0 and lookup_value is a text string, you can use the wildcard characters — the question mark (?) and asterisk (*) — in the lookup_value argument. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character.

 

Click here for excel to use MATCH with Vlookup.

Click here for Hindi Video to understand the MATCH with Vlookup.



Are you are having any Question or Comment? Hit me!

Comments

  1. Loved it...
    Seen many articles but everyone telling about only functions but the best part in this blog is you are telling us about he usage (TIP) of the same too.
    Thanks Again...

    ReplyDelete

Post a Comment

Popular posts from this blog

Excel - IF Function || IF formula || English article and Hindi Video

Excel IF Function   Summary The IF function can perform a logical test and return one value subject to TRUE and FALSE value placed by you. IF function is one of the most popular functions in Excel, and it allows you to make logical comparisons between a value and whatever you want. For example, to avail incentive, branch should do more than 5 crores sell in a month:  =IF(B2>5,"Eligible","Not Eligible") So, IF function provided two results. First for your TRUE comparison and Second for FALSE comparison as an example given above. Open this video to understand IF function with different data: Above Youtube video link:   https://www.youtube.com/watch?v=CQzsydfB_EE   Purpose IF is a conditional function, who helps us to find out a result on the basis of conditions entered by you.   Translation =IF(B2>5,"Eligibile","Not Eligible") If in the above formula value in “B2” is greater than 5, the return value is Eligible. Otherwi...

Excel – VLOOKUP Function along with Hindi Video

VLOOKUP Function: Summary VLOOKUP is one of the most powerful tools in Excel. The VLOOKUP function enables you to look up data corresponding with the row of a lookup value and corresponding column index. It sounds like a very simple thing, and it is. For example, the VLOOKUP function can use the relational data essentials of two separate tables and affix the data from one table to the other table. You can create a simple Excel table that uses VLOOKUP to lookup and present data from one or other tables.   Don’t worry if it’s sound little difficult, by the end of this article, you will be able to teach others about the VLOOKUP.   First will let you know about the purpose and syntax of the same.   Purpose The VLOOKUP function can use the relational data essentials of two separate tables and affix the data from one table to the other table.   Arguments & Syntax   As Syntax given above VLOOKUP  contain 4 different arguments, the ...