I am trying to import the table of values found at this link
I have used this formula:
=importxml("https://web.archive.org/web/20180108121529/https://transportation.triboard.ca/Cancellations.aspx",
"//td [style="padding-left:10px;padding-right:10px;vertical-align:top]")")
But I get a formula parse error.
Can anyone point out where I am going wrong?
How about this modification? In this modification, https://web.archive.org/web/20180108121529/https://transportation.triboard.ca/Cancellations.aspx
is put in a cell "A1".
padding-left:10px;padding-right:10px;vertical-align:top
by the single quote. ")
. =IMPORTXML(A1,"//td[@style='padding-left:10px;padding-right:10px;vertical-align:top']")
As an another pattern, how about this formula? This also retrieves the table. But the format is different from above one.
=IMPORTXML(A1,"//tr[./td[@style='padding-left:10px;padding-right:10px;vertical-align:top']]")
If I misunderstand your question, I apologize.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.