Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel OFFSET function
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Basic INDEX MATCH approximate in Excel
  • Convert text string to valid reference in Excel using Indirect function

Data Analysis Examples

  • How to Create Gantt Chart in Excel
  • How To Remove Duplicates In Excel Column Or Row?
  • How to calculate average last N values in a table in Excel
  • How To Create Frequency Distribution in Excel
  • How to Create Thermometer Chart in Excel

Data Validation Examples

  • Excel Data validation only dates between
  • Excel Data validation must not contain
  • Excel Data validation must begin with
  • How To Create Drop-down List in Excel
  • Excel Data validation specific characters only

Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions

by

To find the closest match to a target value in a data column, use the INDEX, MATCH, ABS and the MIN function in Excel.

Use the VLOOKUP function in Excel to find an approximate match.

1. The ABS function in Excel returns the absolute value of a number.

Explanation: C3-F2 equals -39. The ABS function removes the minus sign (-) from a negative number, making it positive. The ABS function has no effect on 0 (zero) or positive numbers.

Worked Example:   VLOOKUP with two client rates in Excel

2. To calculate the differences between the target value and the values in the data column, replace C3 with C3:C9.

Explanation: the range (array constant) created by the ABS function is stored in Excel’s memory, not in a range. The array constant looks as follows:

{39;14;37;16;22;16;17}

3. To find the closest match, add the MIN function and finish by pressing CTRL + SHIFT + ENTER.

Note: the formula bar indicates that this is an array formula by enclosing it in curly braces {}. Do not type these yourself. The array constant is used as an argument for the MIN function, giving a result of 14.

Worked Example:   Categorize text with keywords in Excel

4. All we need is function that finds the position of the value 14 in the array constant. MATCH function to the rescue! Finish by pressing CTRL + SHIFT + ENTER.

Explanation: 14 (first argument) found at position 2 in the array constant (second argument). In this example, we use the MATCH function to return an exact match so we set the third argument to 0.

Worked Example:   Sum last n columns in Excel

5. Use the INDEX function (two arguments) to return a specific value in a one-dimensional range. In this example, the name at position 2 (second argument) in the range B3:B9 (first argument).

6. Finish by pressing CTRL + SHIFT + ENTER.

Post navigation

Previous Post:

Convert Negative Numbers to Zero in Excel

Next Post:

Two-column Lookup 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
  • Remove unwanted characters in Excel
  • CHAR function: Description, Usage, Syntax, Examples and Explanation
  • TEXT function: Description, Usage, Syntax, Examples and Explanation
  • Split text and numbers in Excel
  • Split numbers from units of measure in Excel
  • How to get Holiday Date from Year in Excel
  • Calculate date overlap in days in Excel
  • How to get number of days, weeks, months or years between two dates in Excel
  • Get last weekday in month in Excel
  • TODAY function: Description, Usage, Syntax, Examples and Explanation
  • MDURATION function: Description, Usage, Syntax, Examples and Explanation
  • IRR function: Description, Usage, Syntax, Examples and Explanation
  • Future value vs. Present value examples in Excel
  • How to set check register balance in Excel
  • PV function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles