How to Use MATCH Function in Excel + Tips (Video in Khmer)
Learn how to use MATCH function in Excel step-by-step to find position of item with simple examples, tips, and video tutorial in Khmer.
Hello everyone! Today i will show you how to use MATCH function in Microsoft Excel step by step.
What is MATCH Function in Excel?
The MATCH function is a Lookup formula in Excel that help you find the position number (row index or column index) of a specific item in a cell range.
⚠️ Important Note: MATCH formula does NOT return the actual item name or cell value itself. It only return the position number (example: 1, 2, 3...) where your search item is located inside the range!
📚 Related Tutorial: Want to combine
MATCHwithINDEXto replaceVLOOKUP? Check out How to Use INDEX and MATCH in Excel!
🛠️ Formula Syntax & Parameters
The MATCH formula syntax look like this:
=MATCH(lookup_value, lookup_array, [match_type])
lookup_value: The value or text you want to search for (example:"Orange"or cellC2).lookup_array: The range of cells you want to search inside (must be 1 single column or 1 single row, likeA2:A6).[match_type](Optional):0(Exact Match): Finds exact same value (Most popular! 99% of people use0).1(Less Than): Finds largest value smaller than or equal tolookup_value. (Requires data sorted A to Z / ascending).-1(Greater Than): Finds smallest value larger than or equal tolookup_value. (Requires data sorted Z to A / descending).
📋 Sample Data Table (Follow Along)
To try MATCH formula easily, create this simple list in cell range A1:A6:
| Row | Column A (Product Name) |
|---|---|
| 1 | Product Name |
| 2 | Apple |
| 3 | Banana |
| 4 | Orange |
| 5 | Mango |
| 6 | Grape |
📊 Simple Examples
Example 1: Find Position of Text (Exact Match)
We want to find the position number of "Orange" inside range A2:A6:
=MATCH("Orange", A2:A6, 0)
👉 Result: 3
(Because "Orange" is the 3rd item in range A2:A6: 1=Apple, 2=Banana, 3=Orange).
Example 2: Match Position in a Horizontal Row
MATCH also work across a horizontal row!
Create headers in row 1 (A1:D1): | ID | Name | Department | Salary |
Formula to find position of header "Department":
=MATCH("Department", A1:D1, 0)
👉 Result: 3
(Because "Department" is 3rd column header in range A1:D1).
🎥 MATCH Function Video Tutorial (Khmer)
Follow this video guide to watch step-by-step tutorial:
💡 Quick Tips for Using MATCH Function
- Always Type
, 0for Exact Match: If you forget to type, 0at the end, Excel defaults to1, which can give wrong position number if list is not sorted alphabetically! - MATCH Work Only in 1D Range:
lookup_arraymust be single row or single column (likeA2:A10orA1:E1). Do NOT select 2D table range likeA1:C10. - Not Case Sensitive:
MATCHdoes not care about capital letters."APPLE","apple", and"Apple"will give same result. - Combine with INDEX Formula:
MATCHis super powerful when used insideINDEX(array, MATCH(...))to do dynamic two-way lookups in any direction. - Handle #N/A Error: If
MATCHcannot find your search item, it returns#N/Aerror. You can wrap it with=IFNA(MATCH(...), "Not Found")to hide error!
📚 Related Resources & Tutorials
Related Tutorials
Opens in new tab ↗How to Use INDEX and MATCH in Excel with video tutorial in Khmer
Learn how to use INDEX and MATCH together in Excel. Easy step-by-step tutorial with video guides in Khmer.
How to Use LOOKUP Function in Excel + Tips (Video in Khmer)
Learn how to use LOOKUP function in Excel step-by-step to apply formula to each item in array with simple examples, tips.
INT vs MOD Function in Excel: What is the Difference? (Easy Guide)
Learn the difference between INT and MOD functions in Excel. Very simple examples to help you understand whole numbers and remainders.