Function XLOOKUP(lookup_value As Variant, lookup_array As Range, return_array As Range) XLOOKUP = WorksheetFunction.Index(return_array, WorksheetFunction.Match(lookup_value, lookup_array, 0)) End Function Use code with caution.
XLOOKUP is a powerful function typically exclusive to Microsoft 365 and Excel 2021. However, users of can still access its functionality by downloading a community-made XLOOKUP add-in or using custom VBA code. How to Get XLOOKUP in Excel 2010 xlookup add in download for excel 2010 free download
Close the editor. You can now use this simplified XLOOKUP in that specific workbook. Why Use XLOOKUP? XLOOKUP is the successor to VLOOKUP because it: Function XLOOKUP(lookup_value As Variant
the appropriate file (usually a .xll or .xlam file) for your Excel version (32-bit or 64-bit). Open Excel 2010 and go to File > Options > Add-ins . lookup_array As Range