Excel XLOOKUP and XMATCH by info.odysseyx@gmail.com August 26, 2024 written by info.odysseyx@gmail.com August 26, 2024 0 comment 7 views 7 (Originally posted August 13, 2024 By ~ Jake Armstrong) Hello, Microsoft 365 Insiders! I’m Jake Armstrong, a Product Manager on the Excel team. As mentioned in this post, I’m excited to announce the release of Regex mode for XLOOKUP and XMATCH. Previous Post. memo: These new feature modes are preview features. The results may change significantly before they are released widely based on your feedback. We recommend that you do not use these features in your critical workbooks until they are generally available. New regex mode for XLOOKUP and XMATCH You can now leverage regular expressions within your existing XLOOKUP and XMATCH functions using the new XLOOKUP and XMATCH functions. [match_mode] = 3 and use a regular expression pattern with lookup_value. Regular expression pattern as lookup_value This allows you to use XLOOKUP and XMATCH to match part of the text in a cell or other text patterns that can be described by regular expressions. For example, let’s say you have complex data where the United States is listed as “USA” and “United States”, and you want to match based on which one appears first. We will use XLOOKUP with “USA|United States” as lookup_value and match_mode = 3. =XLOOKUP(lookup_value,lookup_array,return_array,if_not_found,match_mode,search_mode) XLOOKUP function using regular expression mode Instead, you can use XMATCH to return the position of the match. =XMATCH(lookup_value,lookup_array,match_mode,search_mode) XMATCH function using regular expression mode Tips and Tricks When writing regular expression patterns, you can use symbols called ‘tokens’ that match a variety of characters. Some useful tokens to get you started include: “[0-9]”: number “[a-z]”: characters in the range a~z “.”: all characters “a” : “a” character “a*”: 0 or more “a”s “a+” : one or more “a” Ask me Bing Copilot For regular expression patterns! effectiveness This feature is rolling out to Beta Channel users running: Windows: Version 2408 (Build 17931.20000) Mac: Version 16.89 (Build 24080715) Not yet? It’s probably us, not you. Features are released over time to ensure everything works smoothly. They are released slowly to a larger number of Insiders, highlighting features you may not have. Sometimes we remove elements based on your feedback to make them even better. This is rare, but we also have the option to completely remove a feature from the product, even if you, as an Insider, had the opportunity to try it out. feedback We want to hear from you! Click here help > feedback Please use Excel to submit your thoughts on new features. Learn about Microsoft 365 Insider Program And join us Microsoft 365 Insider Newsletter Get the latest Insider features straight to your inbox once a month! Source link Share 0 FacebookTwitterPinterestEmail info.odysseyx@gmail.com previous post Give a custom name to the General channel in Microsoft Teams next post Exploring the latest AI features in Clipchamp You may also like From Zero to Hero: Building Your First Voice Bot with GPT-4o Real-Time API using... October 12, 2024 A Guide to Responsible Synthetic Data Creation October 12, 2024 Capacity Template – MGDC for SharePoint October 11, 2024 Using Azure NetApp Files (ANF) for data- and logfiles for Microsoft SQL Server in... October 11, 2024 Microsoft Community – Do you love stickers?! Do you want to be a part... October 11, 2024 Advanced Alerting Strategies for Azure Monitoring October 11, 2024 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.