基于仅匹配某些标准的唯一值过滤
这可能超出了我在Google表格中的技能,这肯定会使我的大脑思考,但是我有两个列的大型电子表格(30000行左右),我需要在一个列表上的唯一值之间找到匹配项,并且非唯一但仅在另一个列表上的特定值。也就是说,我需要以下列表仅返回左列中具有3个值的左侧的值,每当值出现在左侧上时,而不仅仅是针对特定实例。
“唯一”标识符(可以重复) | 值 |
---|---|
1 | 2 |
2 | 3 |
3 | 3 |
2 4 | 2 |
5 | 3 |
6 | 2 |
1 | 2 |
2 | 2 |
2 2 | 2 |
3 | 2 4 |
2 5 | 2 |
6 | 2 |
i有以下公式,来自另一对夫妇的答案,但没有把我一路走到那里:= unique(filter(a2:a,b2:b> 0)))
如何将其排除,例如,在右列中具有2和3左列中的值相同?
编辑:以更真实的方式说(我试图将其保持抽象的水平,以便我可以理解基础知识),我有一个目录ID和一个物品条件,并且需要查找所有仅具有良好副本的目录ID,而不是任何非常好的副本。此链接应显示我想实现的目标: https:// docs。 google.com/spreadsheets/d/e/2pacx-1vsjenkds2MK3T4KTCDOJQSC8AV6ONU4Q17K1HPAIUDJKB7DHDNBAT-CZUXGO3ZOJISNPGOJISNPGAJISNPGAJUTFTGZ8C/PUBHTML?
This may be beyond my skill level in Google Sheets, and it's certainly straining my brain to think through, but I have two columns out a large spreadsheet (30000 lines or so) that I need to find matches between unique values on one list, and non-unique but specific values ONLY on another list. That is, I would need the following list to return only the values on the left that had a 3 in the right column every time that value appears on the left, not just for a specific instance.
"Unique" Identifier (can repeat) | Value |
---|---|
1 | 2 |
2 | 3 |
3 | 2 |
4 | 2 |
5 | 3 |
6 | 2 |
1 | 2 |
2 | 2 |
3 | 2 |
4 | 2 |
5 | 2 |
6 | 2 |
I have the following formula from another couple answers mocked up, but it doesn't get me all the way there:=UNIQUE(FILTER(A2:A,B2:B>0))
How can I get it to exclude the ones that have, for instance, both a 2 and a 3 in the right column for the same value in the left column?
Edit: To put it in more real terms (I was trying to keep it abstract so I could understand the basics), I have a Catalog ID and a Condition for items, and need to find all Catalog IDs that only have Good copies, not any Very Good copies. This link should show what I want to achieve:
https://docs.google.com/spreadsheets/d/e/2PACX-1vSjenkDS2Mk3t4kTcDoJqSc8AV6ONu4Q17K1HPaIUdJkb7dhdnbAt-CzUxGO3ZoJISNpGajUtFTGz8c/pubhtml?gid=0&single=true
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
:
更新1:
update 2:
try:
update 1:
update 2: