Approximate match with VLOOKUP
To find approximate matches in Excel which can be used to calculate postage based on weight, evaluate employees' performance, calculate income tax based on salary, etc., you can use the VLOOKUP function to retrieve the approximate match as you need.
How to find approximate matches with VLOOKUP?
To grade a student’s score according to the given table as shown in the screenshot above, you can use the VLOOKUP function. By default, the function performs an approximate match. So, either the function has no range_lookup argument or has TRUE as its range_lookup argument makes no difference. Note that to find approximate matches with VLOOKUP requires the values listed in the first column of the table, i.e., the column where the lookup value is listed, to be sorted in ascending order.
- lookup_value: The value to lookup. Here refers to the given score.
- table_array: The range of cells where to look for approximate matches. Here refers to all the data including the score and grade information.
- col_num: The column in the table_array from which you want to retrieve the matching value.
- range_lookup: TURE or omitted. Forces VLOOKUP to find the first approximate match.
To grade the score of 82, please copy or enter the formula below in the cell F6, and press Enter to get the result:
Or, use a cell reference to make the formula dynamic:
Explanation of the formula
- There is no range_lookup, which indicates an approximate match, and requires the values listed in the first column of the table, i.e., the column B where the lookup value is listed, to be sorted in ascending order.
- VLOOKUP will then find the largest value that is less than or equal to 82, the value in F5, in the range B5:C9. So, it will match the value 80 and lookup the 4th row in the range.
- Then the VLOOKUP function will retrieve the value in the 2nd column of the 4th row, which is B.
Excel VLOOKUP function
The Excel VLOOKUP function searches for a value by matching on the first column of a table and returns the corresponding value from a certain column in the same row.
Approximate match with INDEX and MATCH
There are times when we need to find approximate matches in Excel to evaluate employees' performance, grade students’ scores, calculate postage based on weight, etc. In this tutorial, we will talk about how to use the INDEX and MATCH functions to retrieve the results we need.
Exact match with VLOOKUP
To find out the information listed in Excel about a specific product, movie or a person, etc., you should take advantage of the VLOOKUP function.
Partial match with VLOOKUP
There are times when you need Excel to retrieve data based on partial information. To solve the problem, you can use a VLOOKUP formula together with wildcard characters - the asterisk (*) and question mark (?).
Left lookup with VLOOKUP
In this tutorial, we will discuss about how to use VLOOKUP to find out the information listed in the left columns in Excel about a given item which is at the right side. We may know that the VLOOKUP function cannot look to its left, so in order to accomplish the task, we will have to use the help of the CHOOSE function.
The Best Office Productivity Tools
Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.
- Designed for 1500 work scenarios, helps you solve 80% Excel problems.
- Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
- Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
- 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
- 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, Firefox, And New Internet Explorer.