---
title: "MATCH in Google Sheets: syntax and examples | PracticeExcel"
description: "Returns the position of a value in a row or column. Use 0 as match_type for an exact match. With examples and exercises in Google Sheets."
canonical_url: "https://practiceexcelonline.com/sheets/functions/match"
locale: en
meta:
  "og:description": "Returns the position of a value in a row or column. Use 0 as match_type for an exact match. With examples and exercises in Google Sheets."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TUFUQ0ggaW4gR29vZ2xlIFNoZWV0czogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_Returns%2Bthe%2Bposition%2Bof%2Ba%2Bvalue%2Bin%2Ba%2Brow%2Bor%2Bcolumn.%2BUse%2B0%2Bas%2Bmatch__type%2Bfor%2Ban%2Bexact%2Bmatch.%2BWith%2Bexamples%2Band%2Bexercises%2Bin%2BGoogle%2BSheets.%2Ceyebrow_Google%2BSheets%2Bpractice%2Bexercises%2Csite_practiceexcel%2Ccode_~TUFUQ0gobG9va3VwX3ZhbHVlLCBsb29rdXBfYXJyYXksIFttYXRjaF90eXBlXSk%2Cp_Ii9zaGVldHMvZnVuY3Rpb25zL21hdGNoIg%2Cs_Z4RKNLo5OazLE4tM.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "MATCH in Google Sheets: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TUFUQ0ggaW4gR29vZ2xlIFNoZWV0czogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_Returns%2Bthe%2Bposition%2Bof%2Ba%2Bvalue%2Bin%2Ba%2Brow%2Bor%2Bcolumn.%2BUse%2B0%2Bas%2Bmatch__type%2Bfor%2Ban%2Bexact%2Bmatch.%2BWith%2Bexamples%2Band%2Bexercises%2Bin%2BGoogle%2BSheets.%2Ceyebrow_Google%2BSheets%2Bpractice%2Bexercises%2Csite_practiceexcel%2Ccode_~TUFUQ0gobG9va3VwX3ZhbHVlLCBsb29rdXBfYXJyYXksIFttYXRjaF90eXBlXSk%2Cp_Ii9zaGVldHMvZnVuY3Rpb25zL21hdGNoIg%2Cs_Z4RKNLo5OazLE4tM.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **MATCH in Google Sheets**

Returns the position of a value in a row or column. Use 0 as match\_type for an exact match.

=

MATCH(

## **In Google Sheets**

MATCH takes the same arguments in Google Sheets. The last one defaults to 1, the nearest smaller value in a sorted range, so write 0 for an exact match.

## **Syntax**

```
MATCH(lookup_value, lookup_array, [match_type])
```

<dl><dt>**lookup_value **</dt>
<dd>The value to find.</dd>
<dt>**lookup_array **</dt>
<dd>A single row or column to search.</dd>
<dt>**match_type **(optional)</dt>
<dd>0 exact match; 1 (default) largest value less than or equal, in ascending data; -1 smallest value greater than or equal, in descending data.</dd></dl>

## **Examples**

D1`=MATCH(<sup>1</sup>"Pear",<sup>2</sup>A2:A4,<sup>3</sup>0)`

|  | A | B | C | D |
| --- | --- | --- | --- | --- |
| 1 | Fruit | Price |  | **2** |
| 2 | Apple | 4 |  | |
| 3 | Pear | 6 |  | |
| 4 | Plum | 5 |  | |

**In plain words:** Find the position of <sup>1</sup>Pear in <sup>2</sup>the fruit list in A2:A4, <sup>3</sup>only on an exact match.

D1=MATCH(5,B2:B4,0)

|  | A | B | C | D |
| --- | --- | --- | --- | --- |
| 1 | Fruit | Price |  | **3** |
| 2 | Apple | 4 |  | |
| 3 | Pear | 6 |  | |
| 4 | Plum | 5 |  | |

## **Practice MATCH**

- [**1****Find a position with MATCH**→](https://practiceexcelonline.com/sheets/practice/index-match/match-function)
- [**2****Look up a price with INDEX and MATCH**→](https://practiceexcelonline.com/sheets/practice/index-match/index-match)
- [**3****Look to the left with INDEX and MATCH**→](https://practiceexcelonline.com/sheets/practice/index-match/index-match-left-lookup)
- [**4****A two-way lookup with INDEX and two MATCHes**→](https://practiceexcelonline.com/sheets/practice/index-match/index-match-match-two-way)

## **Related functions**

- [**INDEX**](https://practiceexcelonline.com/sheets/functions/index)
- [**XMATCH**](https://practiceexcelonline.com/functions/xmatch)
- [**XLOOKUP**](https://practiceexcelonline.com/sheets/functions/xlookup)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/sheets/functions/match#webpage","@type":"WebPage","description":"Returns the position of a value in a row or column. Use 0 as match_type for an exact match. With examples and exercises in Google Sheets.","name":"MATCH in Google Sheets: syntax and examples","url":"https://practiceexcelonline.com/sheets/functions/match","breadcrumb":{"@id":"https://practiceexcelonline.com/sheets/functions/match#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/sheets/functions/match"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/sheets/functions/match#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Google Sheets practice exercises","item":"https://practiceexcelonline.com/sheets","position":2},{"@type":"ListItem","name":"MATCH in Google Sheets: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/sheets/functions/match#article","description":"Returns the position of a value in a row or column. Use 0 as match_type for an exact match. With examples and exercises in Google Sheets.","headline":"MATCH in Google Sheets: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TUFUQ0ggaW4gR29vZ2xlIFNoZWV0czogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_Returns%2Bthe%2Bposition%2Bof%2Ba%2Bvalue%2Bin%2Ba%2Brow%2Bor%2Bcolumn.%2BUse%2B0%2Bas%2Bmatch__type%2Bfor%2Ban%2Bexact%2Bmatch.%2BWith%2Bexamples%2Band%2Bexercises%2Bin%2BGoogle%2BSheets.%2Ceyebrow_Google%2BSheets%2Bpractice%2Bexercises%2Csite_practiceexcel%2Ccode_~TUFUQ0gobG9va3VwX3ZhbHVlLCBsb29rdXBfYXJyYXksIFttYXRjaF90eXBlXSk%2Cp_Ii9zaGVldHMvZnVuY3Rpb25zL21hdGNoIg%2Cs_Z4RKNLo5OazLE4tM.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/sheets/functions/match#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/sheets/functions/match#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TUFUQ0ggaW4gR29vZ2xlIFNoZWV0czogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_Returns%2Bthe%2Bposition%2Bof%2Ba%2Bvalue%2Bin%2Ba%2Brow%2Bor%2Bcolumn.%2BUse%2B0%2Bas%2Bmatch__type%2Bfor%2Ban%2Bexact%2Bmatch.%2BWith%2Bexamples%2Band%2Bexercises%2Bin%2BGoogle%2BSheets.%2Ceyebrow_Google%2BSheets%2Bpractice%2Bexercises%2Csite_practiceexcel%2Ccode_~TUFUQ0gobG9va3VwX3ZhbHVlLCBsb29rdXBfYXJyYXksIFttYXRjaF90eXBlXSk%2Cp_Ii9zaGVldHMvZnVuY3Rpb25zL21hdGNoIg%2Cs_Z4RKNLo5OazLE4tM.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TUFUQ0ggaW4gR29vZ2xlIFNoZWV0czogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_Returns%2Bthe%2Bposition%2Bof%2Ba%2Bvalue%2Bin%2Ba%2Brow%2Bor%2Bcolumn.%2BUse%2B0%2Bas%2Bmatch__type%2Bfor%2Ban%2Bexact%2Bmatch.%2BWith%2Bexamples%2Band%2Bexercises%2Bin%2BGoogle%2BSheets.%2Ceyebrow_Google%2BSheets%2Bpractice%2Bexercises%2Csite_practiceexcel%2Ccode_~TUFUQ0gobG9va3VwX3ZhbHVlLCBsb29rdXBfYXJyYXksIFttYXRjaF90eXBlXSk%2Cp_Ii9zaGVldHMvZnVuY3Rpb25zL21hdGNoIg%2Cs_Z4RKNLo5OazLE4tM.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
