Last Updated on May 31, 2026 5:56 pm by Maxwell Aliang’ana
For anyone who has ever worked in Excel, you know the feeling: You have two sets of data in tables, a common column and you want to copy matching data from one table to the other. The old solution for decades has been VLOOKUP. It was potent, but had a long list of issues: clunky syntax and breakable column references, and no ability to look to the left. Then in 2020 (Office 365 and Excel 2021+), Microsoft added XLOOKUP. It wasn’t simply that it was received well, it was a collective sigh of relief. XLOOKUP is not just an incremental change; it’s a rethinking of the whole process. This guide provides detailed explanations for this, as well as further explanations in a visual, spreadsheet-like fashion, to help you see how each of these functions works in actual spreadsheets.
How VLOOKUP Works in Excel
VLOOKUP (Vertical Lookup) searches for a value in the first column of a dataset and returns a related value from another column in the same row.

VLOOKUP and has the following parts: =VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup])
| Part | Value | Meaning |
| lookup_value | EMP-5 | Look for this exact employee |
| table_array | Your entire table | Search in columns A, B, C (rows 1-9) |
| col_index_num | Column 3 | Return from the Sales column |
| range_lookup | Exact match | Only match if exactly “EMP-5” |
Suppose you want to check employee 5 (EMP-5) how much he has made, Excel will look for an exact match of “EMP-5” in the first column of the table array (A1 to C9) and once it finds an exact match for “EMP-5” (in your data, that is the row containing the EMP Name column), it will then cross horizontally to the third column of the table array (C1 to C9) and return the value from that cell — in your data, that is the Sales column. The FALSE argument at the end of the formula will cause Excel to look for a complete match only; in other words, if EMP-5 is not entered exactly as it appears, the formula will not find a match, but instead return the #N/A error.
Important Rules You Must Follow
There are a few things to keep in mind when you use the VLOOKUP function in Excel so you don’t get errors and incorrect results. The lookup value is required to be in the first column of your table range; VLOOKUP will search only from left to right, so it cannot search for values in the leftmost column of your table. Second, when you use ‘’FALSE’’ for the match type, then Excel can only give you exact matches and avoid giving you wrong or non-intended results. Third, you need to know that the column number starts on the left side of your selected range, with the first column being 1, the second column being 2, and so on, because VLOOKUP needs to know the number of the column to return in order to return the value.
Key Strength of VLOOKUP
VLOOKUP is one of the most commonly used functions in Excel, as it is easy to understand and can be used by anyone, even those new to Excel. It can be used to efficiently look up a value in the first column of a data set and retrieve other information from the same row. Its simple design and ubiquity in Microsoft Excel makes it relevant in almost all of the Excel versions, which is particularly useful in the workplace where various users are using different versions of Excel. It is also excellent for small, stable datasets where the data structure does not change often, and the user can create reliable and predictable reports without resorting to high levels of technical expertise.
Major Limitations of VLOOKUP
However, VLOOKUP has weaknesses in its structure and does not work very well in the current data environment. The only problem with this is that it only performs a search from left to right, so the value to search for must always be on the left hand side of the data set, limiting the sort of data that can be searched. VLOOKUP is also very sensitive to column index numbers when determining what to return, meaning that if a column is inserted or deleted, without warning, the formula may produce incorrect results or fail to return a result at all. This renders it vulnerable in dynamic spreadsheets with data structures that change often. In general, these restrictions lessen its flexibility and make it less applicable for complex and changing data sets than newer functions such as XLOOKUP.
How XLOOKUP Works in Excel
VLOOKUP is an outdated function that has been replaced by the more modern XLOOKUP function. It eliminates lots of restrictions and allows for more powerful and flexible data lookup. Whereas XLOOKUP does not use column numbers, it explicitly references the range being looked up and the range it will return a value from. Suppose you have a small online business. You have a product database and regularly have to look up product information from a Product ID. All the products have: Product ID, Product name, Category and Price. You would like to have product information automatically returned when you type in a Product ID.

An XLOOKUP formula =XLOOKUP (lookup_value, lookup_array, return_array,Not Found’’)
For example, to search P104 using XLOOKUP, first, you need to know what you are looking for (Product ID), where to look (the range or array to search) and what value you wish to return. Firstly, the formula is entered in an empty cell: =XLOOKUP (“P104”, A2:A5, D2:D5, “Not Found”). In this case, Excel is told to search the Product ID column (A2:A5) for P104, and then it is to search the Price column (D2:D5) and return its value. The price of the Backpack is $3,000 and press Enter.Press Enter and Excel immediately returns $3,000, the price of the Backpack. No need to worry about table changes or counting columns – the XLOOKUP function will automatically connect the lookup column to the result column, making it easy, accurate and reliable.
Advantages of XLOOKUP
XLOOKUP is an even more powerful and versatile Excel function than the more traditional VLOOKUP functions. It can search in any direction in a dataset, not just left to right. It does not require the use of column index numbers like VLOOKUP, thus avoiding error risks if columns are added or removed. It also features error handling so that you can present custom error messages when you don’t find a value, rather than returning cryptic error messages. Furthermore, XLOOKUP automatically performs an exact match, resulting in greater accuracy and preventing errors due to mis settings. Overall, it is stable: it does not change when the structure of the data changes, which is good for spreadsheets that change over time.
Disadvantages of XLOOKUP
Although XLOOKUP can be helpful, it has some drawbacks. The main problem is that it is not compatible with older versions of Excel, such as the Excel 2016, 2019, and earlier versions. It can also be confusing for new users who have only used standard functions such as VLOOKUP, causing some users to have a learning curve. If the file needs to be accessed by multiple versions of Excel, there can be compatibility problems, as the function will not be recognized by an older version. Thus, XLOOKUP is a very useful tool, but it can only be used in newer Excel environments.
When to Use VLOOKUP
Use VLOOKUP for older versions of Excel (pre-2010) or for any system or organization that is still using legacy spreadsheets. It also works when you have to keep your current files that were created with VLOOKUP formulas. Furthermore, VLOOKUP is effective with basic, static data sets that do not need a lot of data manipulation and where the sole purpose is to look up data.
When to Use XLOOKUP
XLOOKUP should be used when new Excel files are created, particularly in newer versions of Excel (like Microsoft 365 or Excel 2021). It works well with large or changing data sets, where data structures can evolve. It is also the preferred option when creating dashboards, reports, or automated tools, as it provides a higher degree of flexibility, accuracy, and has better formula management. XLOOKUP is useful when there is a need for flexibility and reliability.
Common Mistakes in Lookup Functions
There are common errors that Excel users tend to make when performing lookups. A frequent mistake is choosing the wrong ranges and getting the wrong or missing results. A common problem is that people do not consider using exact match settings, resulting in incorrect data in older functions. If the data is not formatted correctly, for example with extra spaces or with different types and numbers of text entries, a possible look up failure will occur. Finally, some users make formulas too complicated by adding layers of functions that aren’t necessary when using a simpler and more efficient look-up technique.
Conclusion
VLOOKUP is a valuable Excel function for those who use older Excel versions or for those who have to work with old spreadsheets that are already utilizing VLOOKUP. But its drawbacks, including being column-position oriented and inflexible in dynamic datasets, make it less suited to the needs of modern data analysis. In contrast, XLOOKUP is a more powerful and reliable way to retrieve data. It has a number of advantages over VLOOKUP, including flexibility in search direction, no need to specify the column index, and error handling. These enhancements render it much simpler to make precise and durable spreadsheets. For Excel 2026 students, mastering XLOOKUP will be a game-changer, while knowing how to use VLOOKUP will ensure that you can collaborate with older versions and legacy data files.
Discover more from Kenya Financial Updates
Subscribe to get the latest posts sent to your email.





