【问题标题】:How to do google sheet filtering?如何进行谷歌表格过滤?
【发布时间】:2020-10-20 00:04:05
【问题描述】:

https://docs.google.com/spreadsheets/d/e/2PACX-1vQ9j9EuHnvBPi_IYhheTbttwG-D5JHYcSGodSl3eSydEG1z5R7PFfKAOw6G-XrNEZQnxvDg_-5PmgDp/pubhtml

我有一个类似上面链接的谷歌表格,看起来像这样

Timestamp           Name

6/29/2020 23:32:42  aaaa

6/29/2020 23:32:50  aaaa

6/29/2020 23:32:54  aaaa

6/29/2020 23:33:00  bbbbb

6/29/2020 23:33:05  bbbbb

6/29/2020 23:33:10  bbbbb

6/29/2020 23:33:10  bbbbb

但我需要获取/创建这样的输出

Name     NumberOfItem

aaaa         3

bbbbb        4

如何在谷歌表格上做到这一点

【问题讨论】:

  • 请按照How to Ask 中的建议添加您的搜索/研究工作的简要描述(有很多方法可以做到,但使用数据透视表更容易)

标签: google-sheets google-sheets-formula counting google-sheets-query google-query-language


【解决方案1】:

尝试:

=QUERY(B2:B; "select B,count(B) where B is not null group by B label count(B)''")

【讨论】:

    猜你喜欢
    • 2020-10-20
    • 2019-10-19
    • 2013-01-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-29
    • 2020-05-28
    相关资源
    最近更新 更多