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

Data Analysis

  • How to Create Gantt Chart in Excel
  • Conditional Formatting Data bars Examples in Excel
  • How to do a t-Test in Excel?
  • How To Create Frequency Distribution in Excel
  • How to calculate average last N values in a table in Excel

References

  • How to use Excel FORMULATEXT function
  • Count rows with at least n matching values
  • How to create dynamic named range with OFFSET in Excel
  • How to get last column number in range in Excel
  • How to reference named range different sheet in Excel

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation whole percentage only
  • Excel Data validation exists in list
  • Excel Data validation must begin with
  • Excel Data validation no punctuation

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:   Match next highest value 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:   Faster VLOOKUP with 2 VLOOKUPS 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:   Find lowest n values 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:

MDETERM function: Description, Usage, Syntax, Examples and Explanation

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 TRUE Function
  • IF, AND, OR and NOT Functions Examples in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function

Date Time

  • Get last working day in month in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • Get first day of previous month in Excel
  • Get week number from date in Excel
  • DAY function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Map inputs to arbitrary values in Excel
  • Group arbitrary text values in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • 231 Keyboard Shortcut Keys In Excel
  • Share Excel data with Word documents
  • How to calculate project complete percentage in Excel
  • Count cells less than in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning