2016-06-07 152 views

回答

0

爲此,您可以用IMPORTXML,比賽和指數的組合:

=index(IMPORTXML("http://fundamentus.com.br/detalhes.php?papel=TAEE11","//*[@class='txt']"),match("roe",IMPORTXML("http://fundamentus.com.br/detalhes.php?papel=TAEE11","//*[@class='txt']"),0)+1,0) 

基本上什麼正在發生的是由點到類@ TXT這堆上面的所有標籤數據字段,因此您可以始終如一地搜索標籤,例如ROE,只需將索引增加1即可檢索相應的值。

enter image description here