Google sheets 如何做谷歌网页过滤?如何分类?

Google sheets 如何做谷歌网页过滤?如何分类?,google-sheets,google-sheets-formula,array-formulas,google-sheets-query,gs-vlookup,Google Sheets,Google Sheets Formula,Array Formulas,Google Sheets Query,Gs Vlookup,我有一个类似上面链接的谷歌表单,它看起来像这样 Timestamp Exact Username of Hacker Video Link 6/30/2020 1:55:21 Column1DummyData 6/30/2020 1:59:09 Column1DummyData 6/30/2020 1:59:14 Column1DummyData 6/30/2020 1:59:19 Column1DummyData 6/30/2020 2

我有一个类似上面链接的谷歌表单,它看起来像这样

Timestamp   Exact   Username of Hacker  Video Link
6/30/2020 1:55:21   Column1DummyData    
6/30/2020 1:59:09   Column1DummyData    
6/30/2020 1:59:14   Column1DummyData    
6/30/2020 1:59:19   Column1DummyData    
6/30/2020 2:59:31   Svd 
6/30/2020 2:59:37   Svd 
6/30/2020 10:38:15  qwerty  
6/30/2020 10:44:15  test                https://www.youtube.com/watch?v=3UZzu4UQLcI 
6/30/2020 10:58:53  test                https://www.youtube.com/watch?v=HbgzrKJvDRw
6/30/2020 10:59:33  test                https://www.youtube.com/watch?v=gxpX_mubz2A
我成功地使用以下查询生成了如下输出:

*=ARRAYFORMULA({
 QUERY(B3:B, "select B,count(B) where B !='' group by B label count(B)''"), IFNA(VLOOKUP(
 QUERY(B3:B, "select B,count(B) where B !='' group by B label count(B)''"), {
 QUERY(B3:C, "select B,count(B) where B !='' and C !='' group by B label count(B)''"), 
 REGEXREPLACE(TRIM(TRANSPOSE(QUERY(TRANSPOSE(IF(QUERY(
 QUERY(B3:C, "select count(B) where B !='' and C !='' group by B pivot C"), 
 "offset 1", 0)="",,QUERY(
 QUERY(B3:C, "select count(B) where B !='' and C !='' group by B pivot C"), 
 "limit 0", 1)&",")),,99^99))), ",$", )}, 3, 0))})*
输出

Name               NumberOfItem    Video link

Column1DummyData         4

Svd                      2

qwerty                   1

test                     3         https://www.youtube.com/watch?v=3UZzu4UQLcI, https://www.youtube.com/watch?v=HbgzrKJvDRw, https://www.youtube.com/watch?v=gxpX_mubz2A
但我需要根据NumberOfItem列按降序对输出进行排序

使用:

=ARRAYFORMULA(QUERY({
 QUERY(B2:B, "select B,count(B) where B !='' group by B label count(B)''"), IFNA(VLOOKUP(
 QUERY(B2:B, "select B,count(B) where B !='' group by B label count(B)''"), {
 QUERY(B2:C, "select B,count(B) where B !='' and C !='' group by B label count(B)''"),   
 REGEXREPLACE(TRIM(TRANSPOSE(QUERY(TRANSPOSE(IF(QUERY(
 QUERY(B2:C, "select count(B) where B !='' and C !='' group by B pivot C"),
 "offset 1", 0)="",,QUERY(
 QUERY(B2:C, "select count(B) where B !='' and C !='' group by B pivot C"),
 "limit 0", 1)&",")),,99^99))), ",$", )}, 3, 0))}, "order by Col2 desc", 0))

你能不能在
数组公式
之外再添加一个
查询
,然后使用
排序依据
参数对其进行排序?实际上,昨天是我有生以来第一次使用Excel的日子。打字。因此,这对我来说是一个很大的困惑。=查询(数组形式({QUERY(B3:B),“select B,count(B)where B!=''groupby B label count(B)'”),IFNA(VLOOKUP(查询(B3:B),“select B,count(B)where B!=''groupby B label count(B)”),{查询(B3:C),“select B),count where B!='',C!=''groupby B label count count count by B label count count(B)'”),REGEXREPLACE(TRIM)(transposse(查询)(转置查询(查询(查询(B3:C,“选择计数(B)其中B!=''和C!=''按B轴C分组”),“偏移量1”,0)='',查询(查询(查询(B3:C,“选择计数(B)其中B!=''和C!=''按B轴C分组”),“限制0”,1)和“,”,99^99)),,,,,,,,,,,,,,,,,,,,3,0))