Back to functions
Lookup & Reference2026-03-1814 related articles

MATCH Function in Excel

Return the relative position of a value inside a row or column.

Syntax

MATCH(lookup_value, lookup_array, [match_type])

Arguments

lookup_value

Required

The value Excel should search for.

lookup_array

Required

The one-row or one-column range that contains the possible matches.

match_type

Optional

Use 0 for exact matches, 1 for approximate ascending matches, and -1 for approximate descending matches.

What it returns

Returns the numeric position of the matched item inside the lookup array.

What MATCH does

MATCH does not return the value you are looking for. It returns the position of that value inside a lookup range. That is why it is often used together with INDEX.

You can use MATCH on vertical lists, horizontal labels, and sorted breakpoint tables.

Practical examples

Find an exact position

=MATCH("Thu",$A$1:$G$1,0)

If "Thu" is the fifth item in the range, MATCH returns 5.

Use the result to drive another formula

=INDEX($B$2:$B$13,MATCH(E2,$A$2:$A$13,0))

This is the classic INDEX-MATCH combination for flexible lookups.

Common mistakes and notes

Confusing position with value

MATCH returns a number such as 5 or 11, not the matched text itself.

Approximate match rules matter

When match_type is 1 or omitted, the lookup array must be sorted ascending. When it is -1, the array must be sorted descending.

Wrong range shape

MATCH works against a single row or single column. If you point it at a two-dimensional table, the logic becomes harder to reason about and easier to break.

Related functions

Related articles

Deep dives, troubleshooting guides, and practical examples that use MATCH.

AI in ExcelAdvanced
2026-03-18

The Karpathy Loop for Excel: How Autoresearch Changes the Way We Optimize Spreadsheets

Learn how Karpathy's autoresearch pattern — the AI experiment loop that ran 700 tests in two days — applies to Excel formula optimization, VBA macros, and AI-assisted spreadsheet workflows....

#ai#automation#formulas#optimization
9 min read
Read Article
AI in Excel
2026-03-10

Claude for Excel Review: Best for Complex Models and Error Tracing?

Review Claude for Excel for complex models, error tracing, and careful workbook analysis, including the limits that still matter in beta....

#ai#formulas#review#spreadsheets
3 min read
Read Article
AI in Excel
2026-03-06

ChatGPT for Excel: What It Does Well and Where It Still Needs Review

Review ChatGPT for Excel after the March 5, 2026 launch and see where it helps most with formulas, workbook analysis, and spreadsheet workflows....

#ai#formulas#spreadsheets
3 min read
Read Article
AI in ExcelFormulas
2026-01-22

Can AI Fix Broken Excel Formulas? Real Tests With VLOOKUP, XLOOKUP, and SUMIFS

I tested whether AI can fix broken Excel formulas in real scenarios involving VLOOKUP, XLOOKUP-style logic, and SUMIFS errors caused by dirty data....

#ai#formulas#troubleshooting#lookup
4 min read
Read Article
AI in ExcelFormulas
2026-01-08

How to Use AI to Explain Excel Formulas Step by Step

Learn how to use AI to explain Excel formulas step by step, including how to verify the explanation and catch what the model still gets wrong....

#ai#formulas#troubleshooting
3 min read
Read Article
AI in ExcelFormulas
2025-12-18

Best AI for Excel Formulas: Copilot vs ChatGPT vs Claude

Compare Copilot, ChatGPT, and Claude for Excel formulas using the same prompt, the same workbook task, and the same verification standard....

#ai#formulas#comparison
4 min read
Read Article
FormulasIntermediate
2025-05-15

How to Use XLOOKUP with Multiple Criteria in Excel

Learn how to use XLOOKUP with multiple criteria in Excel by combining Boolean logic or concatenation for cleaner, more flexible lookups....

#criteria#lookup#formulas
5 min read
Read Article
FormulasComparison
2025-03-27

XLOOKUP vs VLOOKUP in Excel: Which Should You Use?

Compare XLOOKUP vs VLOOKUP in Excel, including syntax, left lookups, exact matches, and when the older function still makes sense....

#xlookup#vlookup#comparison#lookup
5 min read
Read Article
FormulasBeginner
2025-02-13

XLOOKUP Function in Excel: Step-by-Step Guide for Beginners

Learn how to use XLOOKUP in Excel with beginner-friendly steps, practical examples, and a clear comparison with VLOOKUP, HLOOKUP, and INDEX MATCH....

#xlookup#lookup#excel-formulas
9 min read
Read Article
FormulasIntermediate
2012-04-09

A Dynamic Dependent Drop Down List with a Horizontal Table Reference

I received a comment asking if a dynamic dependent drop-down list in Excel could have a list where the "table headers were actually rows and not columns?" Since...

#excel-legacy#excel-for-mac#names
3 min read
Read Article
FormulasIntermediate
2011-05-25

A Dynamic Dependent Drop Down List in Excel

Learn how to create dynamic dependent drop-down lists in Excel....

#excel-legacy#excel-for-mac#names
6 min read
Read Article
FormulasIntermediate
2011-01-24

INDEX and MATCH Functions Together Again in Excel

The INDEX and MATCH functions perform a lookups in Excel. INDEX returns a cell from an array, MATCH contributes the row and/or column position....

2 min read
Read Article
FormulasIntermediate
2011-01-21

The INDEX Function in Excel

The INDEX function returns a cell value from a range, given a row and/or column position number. Three examples are given in this article....

3 min read
Read Article
FormulasIntermediate
2011-01-19

The MATCH Function in Excel

The MATCH function in Excel returns the position number of a matched value from within a range, not the value itself....

3 min read
Read Article

Official documentation