简体   繁体   中英

XPATH for Importxml on google-sheets

i am trying to extract some data from below web page to google-sheets using importxml formula.

http://tsetmc.com/Loader.aspx?ParTree=151311&i=25244329144808274

the required field is shown in attached image. required record

please help me on correct syntax. Thanks.

Actually, we can fetch the data from elsewhere. Just use:

=IMPORTXML("http://en.tsetmc.com/loader.aspx?ParTree=121C1412&inscode=25244329144808274";"//tr[./th[.='Quantity']]/following-sibling::tr[1]/td[2]")

Output:

库存

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM