简体   繁体   English

Excel:查找除1列以外具有匹配数据的行

[英]Excel: Find rows with matching data except for 1 column

I have an Excel sheet with thousands of rows in it. 我有一个包含数千行的Excel工作表。 It has 3 columns: name, date and yes/no. 它具有3列:名称,日期和是/否。

Please see this image for the example: 请参见以下图像的示例:

I'm looking for pairs of rows which are duplicate in column A & B, but have different values in column C. In my example above, rows 1&7 is a pair while rows 3&4 is not. 我正在寻找在A和B列中重复但在C列中具有不同值的行对。在上面的示例中,第1&7行是一对,而第3&4行则不是。

Is there a way in Excel to highlight all of the pairs, delete all rows which are not part of a pair or some other way for me to recognize the pairs? Excel中是否可以突出显示所有对,删除不属于对的所有行,或者通过其他方式识别这些对?

You can try to concatenate all three into one line in column D =CONCATENATE(A1,B1,C1) . 您可以尝试在列D =CONCATENATE(A1,B1,C1)中将所有三个连接成一行。 Then do a conditional format of matching values on column D. After that Sort by color and delete what is no longer needed. 然后,对D列执行匹配值的条件格式。之后,按颜色排序并删除不再需要的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Excel列数据重新排列,关键字匹配到行中 - Excel column data rearrange with keyword matching into rows Excel-在所有匹配行中查找列的最高值(带屏幕截图) - Excel - Find Highest Value of a Column in all Matching Rows (With Screenshot) 查找两个匹配的行,并显示第三行中的数据(Excel) - Find two matching rows and display data from the thirt one (Excel) 尝试搜索具有一列中的行的Excel文件,并在另一个Excel列中找到匹配的值 - Trying to search an excel file with rows in a column and find matching values in another excel column Excel 2016-在b列中找到匹配的行,然后在Next Sheet Column A中求和C列副本的总和 - Excel 2016 - Find matching rows in column b, then sum Column C copy sum in Next Sheet Column A 将列数据映射到匹配的行 - Map column data to matching rows 查找匹配的行Excel公式或VBA - find matching rows excel formula or vba 将行中的部分数据与列中的数据进行匹配,并在Excel中的另一行中填充匹配值的日期 - Matching partial data in rows to data in column and populate date of matched values in another row in Excel 根据2个匹配列在2个excel列表中查找匹配行 - Find matching rows in 2 excel lists based on 2 matching columns excel高级过滤器保留具有匹配的列a和列b的行 - excel advanced filter keep rows with matching column a and column b
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM