Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

How is the syntax for the FILTERXML() function different to the syntax for the IMPORTXML() function in google spreadsheet?

$
0
0
I've just started using Excel 2013 and I'm very excited to discover that it has a FILTERXML() function similar to the google spreadsheet function IMPORTXML().
The only problem is I can't work out how to use it!
Here's the example I'm using:
I have a web address in A1:
http://maps.googleapis.com/maps/api/directions/xml?origin=-35.5350618857216,149.461642000772&destination=-42.8661188991624,147.330221410387&sensor=false&units=metric&region=au&language=en&mode=driving

And the XPATH in A2:
with my function in A3:
=FILTERXML(a1,a2)
But this just returns a #VALUE! error. When I do exactly the same in google spreadsheet =IMPORTXML(a1,a2) it returns the correct value of 1447533.

Any one have any idea what I am doing wrong? Is the syntax for the XPath somehow different in Excel?

Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>