【问题标题】:Google sheets formula to count and filter one column based on another columnGoogle表格公式可根据另一列计算和过滤一列 【发布时间】:2016-11-20 14:25:49 【问题描述】: 我正在尝试计算/总结“谁”列中每个选项的天数。 在此示例中,结果将是: 全部:1 两者:3 汤姆:2 认为需要根据 D 列过滤 B 列? 有什么想法吗? 【问题讨论】: 标签: google-sheets excel-formula formula 【解决方案1】: 试试 =QUERY(B:D,"select D,SUM(B) where D <>'' group by D") 【讨论】: