簡體   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