Custom LAMBDA functions do not require VBA, but are only available inExcel 365.
Once the named formula has been created, it can be used anywhere in the workbook.
FILTERXML Function
The Excel FILTERXML function returns specific data from XML text using the specified XPath expression.