New and improved, XLOOKUP for Excel
News|7 October 2019
Microsoft has announced that the iconic VLOOKUP function for Excel will be replaced by XLOOKUP.
For 34 years VLOOKUP has been a staple function in Excel with many users using the mastering of it a milestone in their spreadsheeting abilities.
What is XLOOKUP?
XLOOKUP is able to look both vertically and horizontally and in its simplest form only needs three arguments to perform an exact lookup – that’s on fewer than VLOOKUP (and HLOOKUP). So the formula looks something like this:
XLOOKUP (lookup_value, lookup_array, return_array)
Advanced XLOOKUP variations
XLOOKUP also has fourth and fifth mode arguments that allow you to perform advanced lookups: match_mode and search_mode.
Why is XLOOKUP better?
1) It defaults to an exact match, which was not VLOOKUP’s default behaviour.
2) It supports column insertions and deletions, which VLOOKUP’s third argument disallowed.
3) Circumvents the need to rearrange data, with XLOOKUP you can return values from a column to the left.
4) You no longer need to reverse the order of your data to find the last occurrence.
5) Can search for the next larger item and the next smaller item.
6) Using lookup_array rather than table_array means you no longer have to reference more cells then you really need for your calculation, increasing the performance of your spreadsheets.
For more information on XLOOKUP and its full capabilities, read this useful article by ExcelJet.
Contact Grey Matter
If you have any questions or want some extra information, complete the form below and one of the team will be in touch ASAP. If you have a specific use case, please let us know and we'll help you find the right solution faster.
Twice a year ESET collates its threat research to bring you an overview of the key trends and findings. Businesses can use this to gain insight into the cyber security landscape, and use it help identify areas that need further...
Tue 26 September 2023 8:50 am - 8:00 pm BST
A free .NET community event Join JetBrains on 26 September 2023 for this free annual online event for .NET developers. Ten amazing community speakers will share what they’re passionate about in the .NET world. Topics include C#, F#, Blazor, Avalonia,...
Wed 27 September 2023 3:00 pm - 4:00 pm BST
In this session with Secure Impact, we’ll run through several common industry myths around penetration testing, and discuss best practices.