【问题标题】:how to find the count of peoples according to the date如何根据日期查找人数
【发布时间】:2021-04-25 10:25:03
【问题描述】:

在这里我想知道我们能找到在指定日期出现的总人数吗?如果我们在下一张纸上输入日期,我们需要显示当天在场的人数。表格 2 上有一个示例。

https://docs.google.com/spreadsheets/d/1TxScKc0NT2pB9ytpyMcq99nYmirS5NAPnRGNtACyaeE/edit#gid=0

提前致谢

【问题讨论】:

    标签: google-sheets google-sheets-formula


    【解决方案1】:

    使用:

    =QUERY({Sheet1!A2:B}, 
    "select Col1,count(Col2) where Col2 is not null group by Col1 label count(Col2)''")
    

    更新:

    =ARRAYFORMULA(IFNA(VLOOKUP(A2:A, QUERY({Sheet1!A2:B}, 
    "select Col1,count(Col2) where Col2 is not null 
     group by Col1 label count(Col2)''"), 2, 0)))
    

    【讨论】:

    • 不喜欢这个朋友,我们需要在B2中给出公式。当我们手动输入日期时,计数必须自动显示
    • @player0你能看一下这张表,那里有疑问吗? docs.google.com/spreadsheets/d/…
    猜你喜欢
    • 2021-12-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-04
    • 2013-03-22
    • 2014-07-07
    相关资源
    最近更新 更多