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

Lookup and Reference Examples

  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Extract data with helper column in Excel
  • How to use Excel ROW Function
  • Vlookup Examples in Excel

Data Analysis Examples

  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How To Create Pareto Chart in Excel
  • Get column index in Excel Table
  • How to perform a t-Test in Excel
  • Working With Tables in Excel

Data Validation Examples

  • How To Create Drop-down List in Excel
  • Excel Data validation date in specific year
  • Data validation must not exist in list
  • Excel Data validation don’t exceed total
  • Excel Data validation no punctuation

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

Worked Example:   How to calculate two-way lookup VLOOKUP in Excel Table

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:

Worked Example:   How to calculate average last N values in a table in Excel

{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).

Worked Example:   Lookup entire column in Excel

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:

Basic INDEX MATCH approximate in Excel

Next Post:

Exact match lookup with SUMPRODUCT 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
  • UNICHAR function: Description, Usage, Syntax, Examples and Explanation
  • Change Case: Uppercase, Lowercase, Propercase in Excel
  • How to find and replace multiple values at same time in Excel
  • How to strip protocol and trailing slash from URL in Excel
  • How to count keywords in a range of cell
  • How to calculate percent of year complete in Excel
  • Get age from birthday in Excel
  • Convert Excel time to decimal minutes
  • How to calculate working days left in month in Excel
  • HOUR function: Description, Usage, Syntax, Examples and Explanation
  • DISC function: Description, Usage, Syntax, Examples and Explanation
  • ODDLPRICE function: Description, Usage, Syntax, Examples and Explanation
  • NPER function: Description, Usage, Syntax, Examples and Explanation
  • DOLLARDE function: Description, Usage, Syntax, Examples and Explanation
  • Calculate interest rate for loan in Excel
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles