如何将查询转换为arrayformula
我想询问如何将此查询转换为arrayformula: = QUERY({unifer(filter($ 2:a,b $ 2:b = b2)),序列(rows(unique(unife(a $ 2:a,b $ 2:b $ 2:b = b2))))},)}, “选择col2 where col1 ='”& a2&“”)
我还将其附加在gsheet中: https://docs.google.com/spreadsheets/d/1ofbgsp42fmphedy7wtz7c3focvdjxxkvxkvxkvxkvxhdf6ac3_d4/edit#gid
= gid = 0 概念的想法是相同的如果一个月是不同的月份(但不一定是与月份进行交叉检查,因为考虑对他人进行concat,但仍将基于此处的唯一ID)
I would like to ask on how to convert this query to an arrayformula:=query({unique(filter(A$2:A,B$2:B=B2)),sequence(rows(unique(filter(A$2:A,B$2:B=B2))))},"select Col2 where Col1 = '"&A2&"'")
I also attached this in a gsheet: https://docs.google.com/spreadsheets/d/1oFbGsP42fMphedY7wtZ7C3focVDJxxkVXHdf6aC3_D4/edit#gid=0
The idea is to count sequence number that will restart to 1 for the same item if month is different month (but it wont necessarily to crosscheck with month because thinking to concat to others but is still gonna be based on the unique id here)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试:
try:
一种选择是使用应用程序脚本自定义函数。为了实现这一目标,请按照以下步骤:
使用日期:
a2:b
):使用ID号:
参考:
One option would be to use an Apps Script custom function. To achieve this, follow these steps:
Using date:
A2:B
):Using ID number:
Reference: