1

I am trying to import some data from a website which are updated monthly in google sheets. I am particularly interested in this number: "1910" see this picture.

I typed:

=IMPORTXML("https://ratings.fide.com/card.phtml?event=36050601";"//table[@class='contentpaneopen']/tr[2]//tr[1]//tr[4]//tr[1]/td[1]")

My problem is that it imports both std. and then 1910, because they are in the same cell. Is it possible to get rid of this std. and import only the value 1910?

1 Answer 1

1

You can use index to get the third returned value like this:

=index(IMPORTXML("https://ratings.fide.com/card.phtml?event=36050601","//table[@class='contentpaneopen']/tr[2]//tr[1]//tr[4]//tr[1]/td[1]"),0,3)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.