Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to use the MATCH Excel function

The MATCH Excel function tells you the position of a value within a range of cells. The function on its own can be useful in certain situations, and it can be combined with other functions for even more utility (check out the INDEX MATCH Excel combination).

Syntax

=MATCH(lookup_value, lookup_array, [match_type])
  • lookup_value is the value you’re searching for
  • lookup_array is the array that you want to search
  • match_type is the type of match that you want (see below for details). If left blank, it will default to type 1 which is an approximate match
Match type

The match_type parameter has three possible values: 0, 1, and -1.

  • 0 specifies an exact match
  • 1 specifies an approximate match, where the value found will be equal to or less than the lookup_value. Values must be sorted in ascending order. Use an approximate match when your data may not have the exact value you’re looking for
  • -1 specifies an approximate match, where the value found will be equal to or greater than the lookup_value. Values must be sorted in descending order

When using approximate matches (match_type 1 or -1) the data must be sorted in ascending (1) or descending (-1) order. If the data isn’t sorted, you’ll probably get an incorrect answer!

How to use the MATCH Excel function

Exact match

I’ll start with a basic example using the MATCH function to find an exact match (with match_type 0). I have a list of oceans and I want to know where in the list the Indian Ocean is situated.

The formula here is =MATCH(E2,B2:B6,0) and the function correctly tells me that the Indian Ocean is 4th in the list.

MATCH Excel exact match 1

Approximate match (ascending order)

Now I’ll use match_type 1 to give me an approximate match. This is useful when you know you don’t have an exact match, especially when you’re dealing with numerical data.

In this example I want to get the position of the ocean with average depth closest to 3500m.

MATCH Excel approximate match ascending order 2

The formula here is =MATCH(F2,C2:C6,1). As mentioned before, a match_type of 1 gives an approximate match where the result is equal to or less than the lookup_value. That’s why it gave me the position in the list of the Antarctic Ocean, even though the Atlantic is closer to 3500m average depth.

Also remember that for this type of match, the data must be sorted in ascending order!

Approximate match (descending order)

The other type of approximate match is match_type -1 which gives the closest value equal to or greater than the lookup_value.

In this case the data must be sorted in descending order.

MATCH Excel approximate match descending order 3

The formula here is =MATCH(F2,C2:C6,-1). Now you can see the difference between the two match_types – in both cases I asked for the ocean closest to 3500m depth, but got two different answers!

This is something to keep in mind when choosing which type of match you want.

MATCH with wildcards

Wildcards (characters * and ?) can be used to represent any value. The asterisk (*) represents any number of any character, while the question mark (?) represents one of any character. The MATCH Excel function can use these wildcards when searching for an exact match.

Pretend I wanted to find the position of the Indian Ocean in my list, but I forget how to spell it – all I know is that it starts with an “I”. I can use the * wildcard to represent the other characters.

So by typing =MATCH("I*",B2:B6,0) the formula correctly gives me the position of the Indian Ocean!

MATCH Excel wildcards 4

You’ve now seen a number of different uses of the MATCH function. Remember, it provides the position of a value in an array.

If you want to get more use out of the MATCH function, consider combining it with the INDEX function, which can help make it even more useful by returning a value instead of just the position.

Tips when using MATCH Excel

  • When the match_type parameter is left blank, the function defaults to an approximate match (type 1)
  • Always remember to sort the data when using an approximate match. Type 1 needs data sorted in ascending order, and Type -1 in descending order
  • The MATCH function is not case sensitive
  • If you have duplicates in your data, the function will return the first match
  • Check out the INDEX MATCH function combination to get more out of the MATCH function

You may also like…

Excel INDIRECT function — Excel logo and fx icon above =INDIRECT on a light gray background

Excel INDIRECT function: formula and examples

Use the INDIRECT function Excel provides to turn text into a cell reference. See the syntax and examples with SUM, AVERAGE, ROW, and other sheets.

How to round off numbers in Excel — Excel icon next to .00 rounded to .0

How to round off numbers in Excel with the ROUND function

Learn to round off numbers in Excel with ROUND, ROUNDUP, and ROUNDDOWN, to any number of decimal places or to the nearest whole number.

Excel FILTER function — Excel logo next to a report icon with a red funnel on a blue background

Excel FILTER function and examples

Learn how to use the Excel FILTER function to filter data by text, number, and date, with multiple conditions, and together with UNIQUE and SORT.