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

Data Analysis

  • How to create Checklist in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • Working With Tables in Excel
  • Excel Bar Chart

References

  • How to get last row in numeric data in Excel
  • How to get last row in mixed data with blanks in Excel
  • How to get last row in text data in Excel
  • How to get last column number in range in Excel
  • How to get relative row numbers in a range in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation number multiple 100
  • Excel Data validation must contain specific text
  • Excel Data validation specific characters only
  • Excel Data validation don’t exceed total

Approximate match with multiple criteria in Excel

by

This tutorial shows how to calculate Approximate match with multiple criteria in Excel using the example below;

Explanation

To lookup and approximate match based on more than one criteria, you can use an array formula based on INDEX and MATCH, with help from the IF function.

In the example shown, the formula in G8 is:

{=INDEX(D5:D10,MATCH(G7,IF(B5:B10=G6,C5:C10),1))}

Note: this is an array formula and must be entered with Control + Shift + Enter

The goal of this formula is to return “size” when given an animal and a weight.

How this formula works

At the core, this is just an INDEX / MATCH formula. The problem in this case is that we need to “screen out” the extraneous entries in the table so we are left only with entries that correspond to the animal we are looking up.

This is done with a simple IF function here:

IF(B5:B10=G6,C5:C10)

This snippet tests the values in B5:B10 to see if they match the value in G6 (the animal). Where there is a match, the corresponding values in C5:C11 are returned. Where there is no match FALSE is returned. When G6 contains “cat”, the resulting array looks like this:

{FALSE;FALSE;FALSE;5;10;15}

This goes into the MATCH function as the array. The lookup value for match comes from G7, which contains the weight (9 lbs in the example).

Note that match is configured for approximate match by setting match_type to 1, and this requires that the values in C5:C11 must be sorted.

MATCH returns the position of the weight in the array, and this is passed to INDEX as the row number. The lookup_array for INDEX are the sizes in D5:D10, so INDEX returns a size corresponding to the position generated by MATCH (the number 4 in the example shown).

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

  • Complete List of Excel Logical Functions, References and Examples
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • Not Equal To ‘<>‘ operator in Excel

Date Time

  • Convert decimal hours to Excel time
  • Basic Overtime Calculation Formula in Excel
  • Roll back weekday to Friday base on a particular date in Excel
  • NETWORKDAYS.INTL function: Description, Usage, Syntax, Examples and Explanation
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Map text to numbers in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel
  • Categorize text with keywords in Excel
  • Running count group by n size in Excel

General

  • How to get original number from percent change in Excel
  • Count cells that do not contain many strings in Excel
  • How to get amount with percentage in Excel
  • How to calculate decrease by percentage in Excel
  • How to calculate percentage discount in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning