【发布时间】:2021-06-27 17:17:21
【问题描述】:
我正在关注this 以确定 aapl 5 年增长率并插入谷歌表格。它适用于计算基本股价,例如这个 =IMPORTXML("https://finance.yahoo.com/quote/AAPL?p=AAPL&.tsrc=fin-srch","//*[@id='quote- header-info']/div2/div1/div/span1")
但是,当使用相同的过程来计算 5 年增长率时(可以在 this 页面(和下图)上看到),该过程不起作用并且 google 表格会引发错误(找不到 URL 处的资源)。这是我使用的公式 =IMPORTXML("https://finance.yahoo.com/quote/Aapl/analysis","//*[@id='Col1-0-AnalystLeafPage-Proxy']/section/table[6 ]/tbody/tr[5]/td2")
知道为什么以及是否可能吗?
【问题讨论】:
标签: google-sheets yahoo-finance