在多列中excel重复值对 [英] excel duplicate values pairs in multiple column

查看:122
本文介绍了在多列中excel重复值对的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



例如,

  column1 column2 

史密斯琼斯< - 重复对
史密斯约翰逊
琼斯史密斯< - 重复对
琼斯Walter


解决方案

我会这样做的方式如下:
(假设你的数据从单元格A1和B1开始)




  • 在C1中,输入公式: = A1&|​​& B1

  • 在D1中,输入公式: = B1&| & A1

  • 在E1中,输入公式: = MATCH(C1,$ D $ 1:$ D $ 500,0)

  • 将所有这些拖动到您的数据集中(如果需要,请更改最终公式中的 $ 500

  • 任何列E列有数字的地方,这意味着数据被重复 - 您甚至可以过滤任何不是#N / A ,它告诉你在列表中的重复匹配的位置。



希望这有帮助!!


Is there a way to find duplicate pairs in multiple columns in Excel?

For instance,

column1       column2  

Smith         Jones       <-- duplicate pair  
Smith         Johnson  
Jones         Smith       <-- duplicate pair  
Jones         Walter  

解决方案

The way I would do it would be as follows: (Assuming your data begins in cell A1 & B1)

  • In C1, put in the formula: =A1&"|"&B1
  • In D1, put in the formula: =B1&"|"&A1
  • In E1, put in the formula: =MATCH(C1,$D$1:$D$500,0)
  • Drag all these down for your dataset (and change the $500 in your final formula if necessary)
  • Any place where column E has a number, it means the data is duplicated - You could even filter for anything that isn't #N/A and it tells you where in the list the duplicate match is.

Hope this helps!!

这篇关于在多列中excel重复值对的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆