Skip to main content

Lookup next largest match with INDEX and MATCH

Author: Amanda Li Last Modified: 2021-10-27

To find the next largest match number, or we say the smallest value that is greater than or equal to the specific number in a range of numeric values in Excel, you can use an INDEX and MATCH formula with -1 as the match type.

next largest match 1

How to find the next largest match number?

To get the next largest match of 68666 from the number range as shown above, an INDEX and MATCH formula with -1 as the match type will help you in this way: The match type -1 will force MATCH to find the smallest value that is greater than or equal to 68666. Note that the values in the number range must be placed in descending order. So, if the values in your range are placed in other orders, please sort them in the descending order according to the instructions here. Only in this case, the MATCH function will be able to locate the next largest match properly. And INDEX will then retrieve the value according to the position supplied by MATCH.

Generic syntax

=INDEX(return_range,MATCH(lookup_value,lookup_array,-1))

  • return_range: The range where you want the combination formula to return the match value from.
  • lookup_value: The value you specified to lookup its next largest match.
  • lookup_array: The range of numeric values to retrieve the position of the next largest match from.

To get the next largest match of 68666, please copy or enter the formulas below in the cell E6, and press Enter to get the result:

=INDEX(B5:B14,MATCH(68666,B5:B14,-1))

Or, use a cell reference to make the formula dynamic:

=INDEX(B5:B14,MATCH(E5,B5:B14,-1))

next largest match 2

Explanation of the formula

=INDEX(B5:B14,MATCH(E5,B5:B14,-1))

  • MATCH(E5,B5:B14,-1): The match_type -1 asks the MATCH function to find the position of the smallest value that is greater than or equal to 68666, the value in the cell E5, in the range B5:B14. So, the MATCH will locate the number 75681 and returns 3 since the number is at the 3rd position of the range.
  • INDEX(B5:B14,MATCH(E5,B5:B14,-1)) = INDEX(B5:B14,3): The INDEX function returns the 3rd value in the return range B5:B14, which is 75681.

Related functions

Excel INDEX function

The Excel INDEX function returns the displayed value based on a given position from a range or an array.

Excel MATCH function

The Excel MATCH function searches for a specific value in a range of cells, and returns the relative position of the value.


Related Formulas

Locate maximum value in a range

There are cases when you need to locate the position of the maximum value in a list, table or row in Excel. In this tutorial, we will discuss the approach to accomplish the task with the MAX and MATCH functions.

Get information corresponding to maximum value

There are cases when you need to locate the position of the maximum value in a list, table or row in Excel. In this tutorial, we will discuss the approach to accomplish the task with the MAX and MATCH functions.

Lookup closest match value with multiple criteria

In some cases, you may need to lookup the closest or approximate match value based on more than one criteria. With the combination of INDEX, MATCH and IF functions, you can quickly get it done in Excel.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations