如何从两张表中提取相似的数据
我有两个不同的数据列表。在这两个列表中,一列可以匹配,但另一列可以是唯一的。如何提取重复值及其各自的合作列?我尝试过独特的,并尝试过匹配功能。我只想提取与 Col1 中重复的相同值及其在 Col2 中的合作数据 list1
I have a two different list of data. In both list one column can match but the other column can be unique. How do I pull the the duplicated values with its respective partnering column? I have tried the unique, and tried match functions. I would like to only pull the same value that is duplicated in Col1 with its partnering data in Col2 list1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 QUERY 函数...假设您想提取特定项目?
=QUERY({Sheet1!A1:B;Sheet2!A1:B},"Select *Where Col1 = 1234")
此示例将显示与 A 列中的 1234 匹配的结果(
如果您愿意)所有不特定于任何内容的结果都使用此:
=QUERY({Sheet1!A1:B;Sheet2!A1:B},"Select *Where Col1 IS NOT空”)
Use a QUERY function... Assuming you want to pull specific items?
=QUERY({Sheet1!A1:B;Sheet2!A1:B},"Select * Where Col1 = 1234")
This example will show you the results that match with 1234 in Column A
If you want all the results not specific to anything use this:
=QUERY({Sheet1!A1:B;Sheet2!A1:B},"Select * Where Col1 IS NOT NULL")
如果你想列出它,请尝试这个:
如果你想总结它,请尝试:
try this if you want to list it:
if you want to sum it try: