【问题标题】:Use importhtml in Google Sheet在 Google 表格中使用 importhtml
【发布时间】:2013-06-17 14:57:20
【问题描述】:

抱歉,我不知道如何描述标题中的问题。

我想获取链接上的数据 http://app2.nea.gov.sg/anti-pollution-radiation-protection/air-pollution/psi/pollutant-concentrations

有 3 个链接,分别是上午 8 点阅读、下午 12 点阅读和下午 4 点阅读。我想要的是“下午 4 点阅读”。但是当页面打开时,默认情况下会到早上 8 点。所以当我使用下面的importhtml时,我只能得到8 am reading的数据。有人知道如何获取“下午 4 点阅读”的数据吗?

=importhtml("http://app2.nea.gov.sg/anti-pollution-radiation-protection/air-pollution/psi/pollutant-concentrations";"table";2)

【问题讨论】:

    标签: google-sheets formulas


    【解决方案1】:
    =transpose(query(transpose(importhtml("http://app2.nea.gov.sg/anti-pollution-radiation-protection/air-pollution/psi/pollutant-concentrations";"table";2));"select Col7,Col8,Col9,Col10,Col11,Col12 where Col7='*4PM*' or Col7='*Time*'";0))
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多