简体   繁体   中英

Comparing two columns in Excel

I have data with about 15 different columns and a total of 2400 rows. The two columns I'm interested in: (Column C = Application Owner & Column D = Application Tester). I'm trying to see which rows have the same name for both columns.

Eg

Column C = Mike Bob John Bob Adam

Column D = Mike Barry Barry Barry Adam

So for this example I would like it to delete the contents of the three middle rows and only show me the first and fifth row because that is what I'm concerned with. Can anyone suggest a function of code or a function in Excel in which I can do this without actually having to go through all of them row by row?

Thanks

添加一列,其中包含=C2=D2向下复制以适合,在该列中过滤FALSE并删除行。

在新列中,可以使用=if(C2=D2,"DELETE","")然后过滤出此新列以进行DELETE并从CD列或整个范围中删除值

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM