繁体   English   中英

是否可以在 Google 表格中限制 importhtml?

[英]Is it possiable to limit importhtml in Google sheet?

我在谷歌表上有很多数据。 我运行 importhtml 公式来获取数据。 因为我有很多数据我得到了错误

Error
Loading data may take a while because of the large number of requests. Try to reduce the amount of IMPORTHTML, IMPORTDATA, IMPORTFEED or IMPORTXML functions across spreadsheets that you've created.

所以我只想在第一次得到结果然后下一个单元格运行导入公式时运行公式。 例如:

在这张表中,所有公式都同时运行,当 a1 公式得到的值比单元格 A2 运行时,有什么办法吗?当单元格 a2 得到值时,单元格 A3 运行

       |      Column A |              
  =====| =================================
   A1  | =query(TRANSPOSE(ImportHtml(H2, "table", 1)), "select * limit 1 offset 1", 0)  
  =====| =================================
   A2  | =query(TRANSPOSE(ImportHtml(H2, "table", 1)), "select * limit 1 offset 1", 0)  
  =====| =================================
   A3  | =query(TRANSPOSE(ImportHtml(H2, "table", 1)), "select * limit 1 offset 1", 0)   

想要这样的东西

       |      Column A |              
  =====| =================================
   A1  | =query(TRANSPOSE(ImportHtml(H2, "table", 1)), "select * limit 1 offset 1", 0)  
  =====| =================================
   A2  | wait for get result for A1  


       |      Column A |              
  =====| =================================
   A1  | Name 1  
  =====| =================================
   A2  | A1 get result now run formula here 

希望它有一些意义

您可以尝试建立在您得到的错误的基础上,并将您的公式包装到IF语句中,例如:

A1: your formula
A2: =IF(ISERROR(A1),,your formula)
A3: =IF(ISERROR(A2),,your formula)
等等

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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