XLOOKUP a new function recently launched with Microsoft Office 365 will be replacing the widely used VLOOKUP, HLOOKUP and INDEX/MATCH functions to run searches in a table of Excel data.
How XLOOKUP different from VLOOKUP and HLOOKUP –
- XLOOKUP has Exact match mode by default but VLOOKUP doesn’t..
- VLOOKUP works from left to right, if there any value to lookup from right to left it will not work. XLOOKUP doesn’t have this limitation.
- lookup_array and retun_array are two separate arguments that are similar to how INDEX MATCH formulas work. But with the VLOOKUP you just have the single table_array that contains both the column to look in and the return column.
- HLOOKUP needs a separate function for horizontal lookup but XLOOKUP can perform horizontal lookup by referencing rows instead of columns for the lookup and return arrays.
- VLOOKUP formulas are not able to handle column insertions or deletions. You just need to adjust the column index number whenever you try to insert or delete column.
- XLOOKUP can perform searches from smallest to largest or from largest to smallest but VLOOKUP sort smallest to largest.
- VLOOKUP required you to input an entire data set, but XLOOKUP only requires you to reference the relevant columns or rows. This way it increases the calculation speed of the spreadsheet.
- XLOOKUP returns more than one value.
- XLOOKUP search from bottom to top but VLOOKUP doesn’t.
- You can set custom message if lookup value not found with XLOOKUP.