FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

MATCH in Google Sheets

MATCH with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the MATCH Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Position of a name

A
1Name
2Ana
3Ben
4Chloe
5Dev

Formula: C1: =MATCH("Chloe",A2:A5,0)

Result: 3

Chloe is the third item of A2:A5. The 0 asks for an exact match.

Approximate match for grade bands

AB
1Score fromGrade
20F
360D
470C
580B
690A

Formula: D1: =MATCH(84,A2:A6,1)

Result: 4

With 1, MATCH finds the largest value not above 84 (80), which is item 4. The list must be sorted ascending.

Is the value in the list?

A
1Allowed
2NY
3CA
4TX

Formula: C1: =ISNUMBER(MATCH("CA",A2:A4,0))

Result: TRUE

MATCH returns a number when found and #N/A when not; ISNUMBER turns that into TRUE or FALSE.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =MATCH(103,A2:A6,0)

Example spreadsheet for MATCH
ABCDEF
1IDItemPriceStockResult
2101Pen2.51203
3102Notebook480
4103Lamp2515
5104Mug7.540
6105Backpack3912
Result in F2: 3
Practice this in a lesson: INDEX + MATCH

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.