如何在Google表中过滤数据,以便只包含每个名称的最后20个项目?
我有一个Google电子表格,其1000行还要多,并且每周更新,每行都包含名称,并做出了3个决定之一。我想自动化它,并在单独的表格中具有名称和数字决定的表格,每个名称的持续20个。
所需的结果看起来像 此屏幕截图。
我是JavaScript的初学者,并且对我如何使用应用程序脚本进行此操作的任何想法或结构将非常欢迎。
I have a google spreadsheet that have more then 1000 rows and it gets updated weekly, each row contain name and one of 3 decisions was made. I want to automate it and have in a separate sheet a table with names and count decisions in numbers and just last 20 for each name.
The desired result would look like
this screenshot.
I'm a beginner in JavaScript and any idea or structure on how I can do this using App Script will be very welcome.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在
Sheet1!af1
中使用代理商通过代理创建降级序列:然后 insert>表格并将此公式插入新表格的单元 a1 :
该公式将按名称和决策给出计数,只查看序数为20或更少的行。请参阅新的
You can create descending ordinals by agent with this formula in cell
Sheet1!AF1
:Then Insert > Sheet and insert this formula in cell
A1
of the new sheet:The formula will give counts by name and decision, only looking at rows where the ordinal is 20 or less. See the new Solution sheet in your sample spreadsheet.
尝试:
try: