MATCH function

Excel MATCH Function is a powerful tool that helps you find the relative position of a specified value within a range of data. It’s like a treasure map for your spreadsheet, guiding you to the exact location of the information you’re looking for.

Syntax

=MATCH(lookup_value, lookup_array, [match_type])

Arguments

Let’s break down the function’s arguments:

How to use

Now, let’s see how you can use the MATCH function with some examples:

Example 1: Finding an exact match

This formula searches for the exact match of “Apple” in cells A1 through A5. If “Apple” is in A3, it will return 3.

Example 2: Finding the nearest smaller value

Here, the function looks for the largest value less than or equal to 25 in cells B1 through B5. If it finds 24 in B3, it returns 3.

Example 3: Finding the nearest greater or equal value

This time, the function searches for the smallest value greater than or equal to 35 in cells C1 through C5. If it finds 38 in C4, it returns 4.

Remember, the MATCH function is incredibly handy when you need to locate data in your Excel spreadsheet. Whether you’re looking for an exact match or trying to find the nearest value, it can save you time and effort by pinpointing the information you need.

Tomasz Decker is an Excel specialist, skilled in data analysis and financial modeling.