# Google Sheets MATCH Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/match-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

The MATCH keyword is used to find the position of a specified value within a range, returning its relative index.

```
MATCH(search_key, range, [search_type])
```

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the MATCH you need in plain EnglishGenerate Formula

## Parameters

**`search_key`**:\
The value that you want to search for within the specified `range`. This can be a number, text, or a cell reference.

**`range`**:\
The range of cells that you want to search through for the specified `search_key`.

**`search_type`**:\
An optional parameter that determines how the search is conducted. It can be set to 1 for an approximate match (the range must be sorted in ascending order), 0 for an exact match, or -1 for an approximate match (the range must be sorted in descending order). If omitted, the default is 1.

## What is a MATCH Function?

The *MATCH* function in Google Sheets is a useful tool that helps you find the position of a specific value within a range or array. It returns the relative position of that value, which can be particularly helpful when you need to locate data or use it in conjunction with other functions like INDEX or VLOOKUP.

In simpler terms, MATCH allows you to determine where a particular item is located in a list or table.

## A Practical Example

Imagine you are working with a list of employee names and their corresponding IDs stored in a Google Sheets document:

### Employee Table:

| EmployeeID | EmployeeName |
| - | - |
| 1 | John Doe |
| 2 | Jane Smith |
| 3 | Emily Davis |

You want to find the position of "Jane Smith" in the Employee Table.

## MATCH Formula

To achieve this, you would use the MATCH function as follows:

```
=MATCH("Jane Smith", A:A, 0)
```

In this formula:

- `"Jane Smith"` is the value you are searching for.
- `A:A` is the range where the function will look for the EmployeeName.
- `0` specifies that you want an exact match.

## Result of the Formula

When you apply the MATCH formula, the output would be:

```
2
```

This indicates that "Jane Smith" is located in the second position of the Employee Table.

## Why Use MATCH?

MATCH is beneficial because it provides a straightforward way to locate the position of a value in a dataset. It can be used in combination with other functions to retrieve related data or perform calculations based on the position of the item found.

## Key Takeaways:

- **MATCH**: A Google Sheets function that finds the position of a specific value within a range.
- **Exact Match**: Allows you to specify whether you want an exact match or an approximate match.
- **Common Use Cases**: Ideal for data analysis, lookups, and when working with large datasets where position identification is necessary.

MATCH is an essential function for anyone working with data in Google Sheets, providing a powerful way to enhance data retrieval and analysis capabilities.

Happy spreadsheeting!

## Example use case

You have a table with product IDs in Column A and their prices in Column B. Use the MATCH formula to find the position of a specific product ID, enabling you to quickly reference its price or other related data in adjacent columns.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [How To Lock Cells In Google Sheets](https://betteranalyst.com/google-sheets/how-to-lock-cells-in-google-sheets)
- [How To Make A Copy Of An Google Sheets Sheet](https://betteranalyst.com/google-sheets/how-to-make-a-copy-of-an-google-sheets-sheet)
- [How To Make A Graph In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-graph-in-google-sheets)
- [How To Make A Histogram In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-histogram-in-google-sheets)
- [How To Make A Line Graph In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-line-graph-in-google-sheets)
- [How To Make A Pie Chart In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-pie-chart-in-google-sheets)
- [How To Make A Table In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-table-in-google-sheets)
- [How To Merge Cells In Google Sheets](https://betteranalyst.com/google-sheets/how-to-merge-cells-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
