MATCH Function in Excel – Formula Explained with Examples

Home/Excel Formulas/MATCH Function in Excel – Formula Explained with Examples

MATCH function: Explained with Examples

MATCH function is just opposite to Index Function. Index returns a match value for a given index from the range. Where as Match function returns the index for the specific value from the range.

PREMIUM TEMPLATES LIMITED TIME OFFER

ON SALE80% OFF

50+ Project Management Templates Pack
Excel PowerPoint Word

Advanced Project Plan & Portfolio Template
Excel Template

Business Presentations Templates Pack
PowerPoint Slides

20+ Excel Project Management Pack
Excel Templates

20+ PowerPoint Project Management Pack
PowerPoint Templates

10+ MS Word Project Management Pack
Word Templates


What is the use of MATCH function?

MATCH Function in Excel searches for a value in an array and returns the relative position of that item

What is the syntax of MATCH function?

MATCH Function in Excel - Snt

MATCH( value, array,

[match_type] )

value: The value to be searched in the the array.
array: The range or a range name containing the table of data.
[match_type]: Type of match that the function to be performed.
1 = Closest match – largest value that is less than or equal to value (data to be sorted ascending) [Default] 0 = Exact matches are returned
-1 = Closest match – smallest value that is greater than or equal to value (data to be sorted descending)

MATCH Function in Excel- Example

MATCH Function in Excel – Examples

Example 1: Searching for 1008 and found at 2nd place

=MATCH(1008,A5:A8,0) search for 1008 in the range A5:A8 and returns its matched index 2 (it found 1008 at second place in the range A5:A8).

Example 2: Searching for 1005 and not found, returned #NA (since match type is 0 i.e; exact match)

=MATCH(1005,A5:A8,0) search for 1005 in the range A5:A8 and returns its matched index #NA (it does not found 1005 in the range A5:A8).

Example 3: Searching for 1022, returned 3 (since match type is 1 i.e; largest value that is less than or equal to value)

=MATCH(1022,A5:A8,1) search for 1022 in the range A5:A8 and returns its matched index 3 (it does not found 1022 in the range A5:A8, and returns nearest matched value (1020) index as we specified match type as 1).

Example 4: Searching for 1022, returned 3 (since match type is 1 is by default)

=MATCH(1022,A5:A8) search for 1022 in the range A5:A8 and returns its matched index 3 (it does not found 1022 in the range A5:A8, and returns nearest matched value (1020) index as we have not specified match type and it treat it as 1 by default).

Wild cards in the MATCH function

Yes, we can use wild cards in the MATCH function, see the following examples.
MATCH - Example 2

Reference:

Please refer the below article for more Lookup & Reference Excel functions.
Lookup & Reference Excel Formulas

Please refer the below article for more Excel Functions.
Excel Formulas | Home

LIMITED TIME OFFER
By |February 18th, 2013|Excel Formulas|1 Comment

About the Author:

Excel VBA Developer having around 8 years of experience in using Excel and VBA for automating the daily tasks, reports generation and dashboards preparation. Valli is sharing to helps us automating daily tasks.

One Comment

  1. September 11, 2014 at 9:11 PM - Reply

    kindly please send

Leave A Comment


Related pages


message box vbshow to make pivot chart in excel 2010vlookup function in excel examplevba defineuseful macros excelvba cell colorxml convert to excelif cell contains stringhow to prepare dashboard in excelhow to learn vba excelhlookup in excel 2010 with examplevba case orfind and delete duplicates in excelms excel charts tutorialunprotect excel sheet 2007how to delete duplicate rows in excelexcel colour chartvba add hyperlinkexcel chrhow to autofit in excel 2010vba excel offsetexcel color index numbersduplicates in excel columnworksheet unprotectsql queries in excelvb6 combo boxwriting macro in excelexcel vba expertms excel formulas shortcut keysexcel vba languageexcel bubble chart templatedeleting blank rows in excelhow to unprotect excel sheet without password 2010while loop in excel macrounlock excel sheet without passwordms excel 2007 vlookupcountif functions in excelvbscript examples for beginnerscool macrosmicrosoft project planner free downloaddefinition of vlookup functioncheck mark in excel 2007types of bar charts in exceldefinition of merge in excelvlookup macroexcel remove macrotechnical aptitude questions with answershr interview questions for freshers with answers pdfswot analysis presentation templatevlookup for beginnersmerge cells excel 2013replace formula in excelformulas of ms excel 2007 with examplesbasic vba codeboard meeting minutes template microsoft wordvba questionsrecordset in vbaexcel delete cellexcel hyperlink to websiteadodb connection examplebatch file append to text filebasic vba programminghow to add a command button in excelmsdasql connection stringvba excel password removerexcel vba insert picturehow do i unhide rows in excelappend string in excelexcel macro commandsvba range addressusing hyperlinks in excelvba range clearmacros function in excelexcel functions in vbaunique records in excelexcel vba user formsvba listbox column