Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Find and mark duplicates
If I have two columns with data, how do I compare these two columns to find
all duplicates and put an X on a third colum next to all duplicates? Thanks. |
#2
|
|||
|
|||
=if(a1=b1,"X","")
"maxtrixx" wrote in message ... If I have two columns with data, how do I compare these two columns to find all duplicates and put an X on a third colum next to all duplicates? Thanks. |
#3
|
|||
|
|||
The problem is, I don't know which two cells to compare, I need to know if
any of the 800 items in the first colum exist in the 600 items of the second column. It's not a row by row comparison. Thanks. "N Harkawat" wrote: =if(a1=b1,"X","") "maxtrixx" wrote in message ... If I have two columns with data, how do I compare these two columns to find all duplicates and put an X on a third colum next to all duplicates? Thanks. |
#4
|
|||
|
|||
hi ...maxtrixx...
You are correct that answer will not work, I suggest you look at Chip Pearson's page on duplicates. http://www.cpearson.com/excel/duplic...gingDuplicates But here is the formula, which you can fill down with the fill handle. C2: =IF(COUNTIF(B:B,A2),"x","") -- column A has a duplicate D2: =IF(COUNTIF(A:A,B2),"x","") -- column B has a duplicate --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "N Harkawat" wrote in message ... =if(a1=b1,"X","") "maxtrixx" wrote in message ... If I have two columns with data, how do I compare these two columns to find all duplicates and put an X on a third colum next to all duplicates? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel: How do I type a letter in a column and make a check mark a. | Excel Worksheet Functions | |||
Looping Macro to Find and Mark | New Users to Excel |