我一直在定期更新我的财务状况与我的股息回报。虽然网上报告的收益率可能不是100%的准确,但我仍然希望得到Foward年度股息收益率。
我以前从雅虎获得的收益如下:
=vlookup("Forward Annual Dividend Yield"&"*",IMPORTHTML("https://finance.yahoo.com/quote/O/key-statistics","table",10),2,0)现在看来,IMPORTHTML无法拉动表10。#REF向我报告:
=IMPORTHTML("https://finance.yahoo.com/quote/O/key-statistics","table",10)何地as
=IMPORTHTML("https://finance.yahoo.com/quote/O/key-statistics","table",9)没有问题报告“阿凡达卷(3个月)-1.92万”“阿凡达卷(10天)-1.55万”等等。
如果从其他网站拉10号桌没有问题,我哪里出错了?
发布于 2019-04-17 00:16:14
作为另一种选择,你可以尝试:
=INDEX(IMPORTXML("https://finance.yahoo.com/quote/O/key-statistics",
"//td[@class='Fz(s) Fw(500) Ta(end)']"), 51, 1)

发布于 2019-04-16 21:19:07
在这边工作得很好:
=IMPORTHTML("https://finance.yahoo.com/quote/O/key-statistics", "table", 10)

=INDEX(IMPORTHTML("https://finance.yahoo.com/quote/O/key-statistics", "table", 10), 2, 2)

https://stackoverflow.com/questions/55716646
复制相似问题