从多个电子表格中计算唯一性和分组依据
Counting unique and group by from multiple spreadsheet
我在处理数据时遇到问题。我需要从多个 sheet 查询唯一 ID 并按特定条件分组。
这是 google sheet 示例,因此您可以查看上下文
https://docs.google.com/spreadsheets/d/1Pudng2o1JjHpapFrxfciyZMRzodRRG9eroCl1yMb9vE/edit?usp=sharing
期待帮助!
尝试:
=QUERY(UNIQUE({Sheet1!A2:B; Sheet2!A2:B; Sheet3!A2:B}),
"select Col2,count(Col2)
where Col2 is not null
group by Col2
label count(Col2)''", 0)
我在处理数据时遇到问题。我需要从多个 sheet 查询唯一 ID 并按特定条件分组。
这是 google sheet 示例,因此您可以查看上下文
https://docs.google.com/spreadsheets/d/1Pudng2o1JjHpapFrxfciyZMRzodRRG9eroCl1yMb9vE/edit?usp=sharing
期待帮助!
尝试:
=QUERY(UNIQUE({Sheet1!A2:B; Sheet2!A2:B; Sheet3!A2:B}),
"select Col2,count(Col2)
where Col2 is not null
group by Col2
label count(Col2)''", 0)