FILTERXML
Query an XML string with XPath and return matching values in Excel for Windows.
Syntax
=FILTERXML(xml, xpath)Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceFILTERXML Function to Split Text into Cells. Excel Magic Trick 1685.
Practice FILTERXML
Query an XML string with XPath and return matching values in Excel for Windows.
| A | B | |
|---|---|---|
| 1 | Argument | Input |
| 2 | Xml | <order><units>4</units></order> |
| 3 | Xpath | /order/units |
Show example formula
=FILTERXML(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
