xlookup
XLOOKUP is a function in Microsoft Excel that searches for a value in a lookup_array and returns a corresponding value from a return_array. Introduced as a modern replacement for VLOOKUP, HLOOKUP, and LOOKUP, it supports vertical and horizontal lookups and can search in either direction.
Syntax: XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode]). The lookup_value is the value to search for. The
XLOOKUP can return values from any position relative to the lookup_array, including to the left of the
Availability and limitations: XLOOKUP is available in Excel for Microsoft 365 and Excel 2021 and later. It