

Assuming the customer name was entered in C7, and the customers were stored in a Table named Table1, then the following function would do the trick: I would use a VLOOKUP function, and I would ask it to find “ABC Company” in the Customer Table, and return the ID. I would like to find a specific customer name “ABC Company” in a list of customers, and if found, I would like Excel to return the customer id which is found in the next column. So, based on which lookup function you select, and which function argument values you enter, Excel knows what to return once it finds its match. Other lookup functions, such as the VLOOKUP function, tell Excel to return a related value. Some lookup functions, such as the MATCH function, tell Excel to return the position number. That is, what value the function should return to the cell. Step two, the return, is the function’s result.

You are asking Excel to find the lookup value in the lookup range. You tell Excel the value to find, such as “ABC Company” and you tell Excel where to look, such as in a range of cells. In the first step, the match, Excel must find the matching value. I’ll call step one the match, and step two the return.

That is the basic idea, but the application of lookup functions are numerous and the implementations can become quite sophisticated and powerful.įor this post, I’d like to split the tasks that a lookup function performs into two steps. For example, we could ask Excel to find “ABC Company” in a list of customer names. The basic idea of an Excel lookup function is to look for a value in a list. Since the VLOOKUP function is probably the most used and most familiar lookup function, we’ll use it as we explore these ideas. To simplify this post, we’ll use just one as the example. The built-in Excel lookup functions, such as VLOOKUP, HLOOKUP, and MATCH, work with similar lookup logic. *** UPDATED BLOG POST: FUZZY MATCH IS AVAILABLE IN POWER QUERY *** This post discusses the details of these ideas, and demonstrates how to perform a fuzzy lookup in Excel 2010 and later. Both of these are quite different from an approximate match or a fuzzy lookup. However, the VLOOKUP function, similar to Excel’s other lookup functions such as HLOOKUP and MATCH, is built to perform an exact match or a range lookup. The VLOOKUP function alone has saved countless hours in my recurring use workbooks. When implemented in the right way for special projects or in recurring use workbooks, they are able to save a ton of time. The built-in Excel lookup functions, such as VLOOKUP, are amazing. This post explores Excel’s lookup functions, approximate matches, fuzzy lookups, and exact matches.
