FILTERXML function: Description, Usage, Syntax, Examples and Explanation
What is FILTERXML function in Excel?
FILTERXML function is one of Web functions in Microsoft Excel that returns specific data from the XML content by using the specified XPath.
Notes:
- Microsoft introduced three new functions in Excel 2013 that will return data from a webservice.
- The FILTERXML function is not available in Excel Online, and it is not available in Excel 2016 for Mac.
- NOTE: This function may appear in the function gallery in Excel for Mac, but it relies on features of the Windows operating system, so it will not return results on Mac.
Syntax of FILTERXML function
FILTERXML(xml, xpath)
The FILTERXML function syntax has the following arguments.
- Xml Required. A string in valid XML format.
- Xpath Required. A string in standard XPath format.
FILTERXML formula explanation
- If xml is not valid, FILTERXML returns the #VALUE! error value.
- If xml contains a namespace with a prefix that is not valid, FILTERXML returns the #VALUE! error value.
Example of FILTERXML function
To see illustrated example of FILTERXML function visit:
- https://bettersolutions.com/excel/functions/filterxml-function.html
- https://analystcave.com/excel-webservice-filterxml-functions/