Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Subtotal function in Excel
  • Understanding Pivot Tables in Excel
  • How to calculate average last N values in a table in Excel
  • Conditional Formatting Data bars Examples in Excel

References

  • How to create dynamic named range with OFFSET in Excel
  • How to use Excel OFFSET function
  • To count total rows in a range in Excel
  • How to use Excel FORMULATEXT function
  • Find closest match in Excel

Data Validations

  • Excel Data validation don’t exceed total
  • Excel Data validation no punctuation
  • Excel Data validation must begin with
  • Excel Data validation unique values only
  • Data validation must not exist in list

Next largest match with the MATCH function in Excel

by

This tutorial shows how to  calculate Next largest match with the MATCH function in Excel using the example below;

Formula

=MATCH(value,array,-1)

Explanation

To lookup the “next largest” match in a set of values, you can use the MATCH function in approximate match mode, with -1 for match type. In the example shown, the formula in F7 is:

=MATCH(F6,length,-1)

where “length” is the named range B5:B11, and “cost” is the named range C5:C11.

How this formula works

The default behavior of the MATCH function is to match the “next smallest” value in a list that’s sorted in ascending order. Essentially, MATCH moves forward in the list until it encounters a value larger than the lookup value, then drops back to the previous value.

So, when lookup values are sorted in ascending order, both of these formulas return “next smallest”:

=MATCH(value,array) // default
=MATCH(value,array,1) // explicit

However, by setting match type to -1, and sorting lookup values in descending order, MATCH will return the next largest match. So, as seen in the example:

=MATCH(F6,length,-1)

returns 4, since 400 is the next largest match after 364.

Find associated cost

The full INDEX/MATCH formula to retrieve the associated cost in cell F8 is:

=INDEX(cost,MATCH(F6,length,-1))

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel FALSE Function
  • SWITCH function example in Excel
  • IF with boolean logic in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Get days before a date in Excel
  • Calculate years between dates in Excel
  • How to calculate Next working/business day in Excel
  • Get last weekday in month in Excel

Grouping

  • Categorize text with keywords in Excel
  • Group times into 3 hour buckets in Excel
  • If cell contains one of many things in Excel
  • Group arbitrary text values in Excel
  • Group times into unequal buckets in Excel

General

  • Create dynamic workbook reference to another workbook in Excel
  • How to calculate decrease by percentage in Excel
  • Check if range contains a value not in another range in Excel
  • Lock Cells in a Worksheet Excel
  • How to calculate percent of students absent in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning