标签: google-sheets google-sheets-formula
所以我试图从 openinsider.com 导入数据,该站点提供有关内部人士买卖公司股票等的信息。
使用这个 =IMPORTHTML(A3,"table",12) 提取数据需要即时
html 在 A3 - http://openinsider.com/search?q=GM
我希望通过在单元格 B1 中键入“GM”轻松地将其更改为另一个代码,例如“MSFT”,这可能吗?
答案 0 :(得分:1)
你应该使用串联
=CONCAT("http://openinsider.com/search?q=",B1)
答案 1 :(得分:1)
使用 & 运算符可以:
&
=IMPORTHTML("http://openinsider.com/search?q="&B1,"table")