我正在尝试导入在此链接上找到的值表
我用过这个公式:
=importxml("https://web.archive.org/web/20180108121529/https://transportation.triboard.ca/Cancellations.aspx",
"//td [style="padding-left:10px;padding-right:10px;vertical-align:top]")")
但我得到一个公式解析错误。
谁能指出我哪里出错了?
我正在尝试导入在此链接上找到的值表
我用过这个公式:
=importxml("https://web.archive.org/web/20180108121529/https://transportation.triboard.ca/Cancellations.aspx",
"//td [style="padding-left:10px;padding-right:10px;vertical-align:top]")")
但我得到一个公式解析错误。
谁能指出我哪里出错了?
这个改装怎么样?在此修改中,https://web.archive.org/web/20180108121529/https://transportation.triboard.ca/Cancellations.aspx
被放入单元格“A1”中。
padding-left:10px;padding-right:10px;vertical-align:top
用单引号括起来。")
。=IMPORTXML(A1,"//td[@style='padding-left:10px;padding-right:10px;vertical-align:top']")
作为另一种模式,这个公式怎么样?这也检索表。但格式与上述格式不同。
=IMPORTXML(A1,"//tr[./td[@style='padding-left:10px;padding-right:10px;vertical-align:top']]")
如果我误解了你的问题,我很抱歉。