【发布时间】:2021-04-25 10:25:03
【问题描述】:
在这里我想知道我们能找到在指定日期出现的总人数吗?如果我们在下一张纸上输入日期,我们需要显示当天在场的人数。表格 2 上有一个示例。
https://docs.google.com/spreadsheets/d/1TxScKc0NT2pB9ytpyMcq99nYmirS5NAPnRGNtACyaeE/edit#gid=0
提前致谢
【问题讨论】:
标签: google-sheets google-sheets-formula
在这里我想知道我们能找到在指定日期出现的总人数吗?如果我们在下一张纸上输入日期,我们需要显示当天在场的人数。表格 2 上有一个示例。
https://docs.google.com/spreadsheets/d/1TxScKc0NT2pB9ytpyMcq99nYmirS5NAPnRGNtACyaeE/edit#gid=0
提前致谢
【问题讨论】:
标签: google-sheets google-sheets-formula
使用:
=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)))
【讨论】: