XLOOKUP
Plain meaning
A newer Excel function that finds an item in one list and returns the matching item from another list, looking in any direction.
Like I’m three
You find your friend's name on one list, then look at a second list to see their favourite colour, whichever side that list is on.
In detail
XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode]) arrived in Microsoft 365 and Excel 2021 as a successor to VLOOKUP and HLOOKUP. Instead of a column number, you point to separate lookup and return ranges, so it can return values to the left, keeps working when columns are inserted, and works vertically or horizontally. It uses exact match by default, lets you set a fallback value instead of a #N/A error, can search from the bottom up to find the latest entry, and can return several adjacent columns at once. In financial models this makes lookups of tickers, account codes or scenario assumptions sturdier and easier to audit. Common confusion: XLOOKUP does not exist in Excel 2016 or 2019, so a model opened in those versions shows #NAME? errors; that is why many banks still use INDEX-MATCH for compatibility.
Example
With tickers ABC, DEF and GHI in A2:A4 and prices of ₹250, ₹410 and ₹95 in C2:C4, =XLOOKUP(E1, A2:A4, C2:C4, 0) returns ₹95 when E1 holds GHI, and returns 0 instead of an error when E1 holds a ticker that is not on the list.
Formula
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found])Related terms
Save it, revise it
Open this word in the interactive dictionary to save it, quiz yourself and see every term it links to.
From the Finspire Dictionary, compiled by Finspire, the finance club of IPM at IIM Ranchi. Last updated . How entries are written and checked