【问题标题】:How to get the total number of counts for last not null date in google sheets based on another column?如何根据另一列获取谷歌表格中最后一个非空日期的计数总数?
【发布时间】:2021-08-26 17:56:23
【问题描述】:

这是一个后续问题:

问题

  • 如何获取我最近申请的公司数量?
  • 例如,在下面的google sheet中,我在march4的最后一个日期申请了5家公司,所以答案是5。
  • 注意:march4 有 8 个值,但只有 5 个公司不是空的。

公开表

【问题讨论】:

    标签: google-sheets google-sheets-formula


    【解决方案1】:

    试试这个:

    =query({B2:C},"select Col1 where Col1 is not null order by Col2 desc limit "&countifs(C:C,max(C:C),B:B,"<>")&" ",0)

    获取最近申请日期的公司数量:

    =countifs(C:C,max(C:C),B:B,"<>")

    它计算 max() 日期在 Col C 中出现的次数,其中 Col B 有一个值。

    "<>" 用于表示“非空”。

    【讨论】:

    • 我需要 5 号(不是公司名称)
    • 好的,那是=countifs(C:C,max(C:C),B:B,"<>")
    猜你喜欢
    • 2021-08-26
    • 1970-01-01
    • 1970-01-01
    • 2016-11-18
    • 2021-12-12
    • 2017-10-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-07
    相关资源
    最近更新 更多