The quickest way to compare two lists (for matching entries–i.e. duplicates)
In Excel (2007 and above), place each list of values in its own column. Now,
- Select cells in first list, then hold CTRL key and then select the second
- Go to Conditional Formatting > Highlight Cells Rules > Duplicate Values. At this point, you are basically done, since the duplicates have been highlighted. However, to pick out all the unique (non duplicate) values, just sort the values using step 3
- Now, Sort –> Custom Sort –> By Cell Color – (all the unique , non-duplicate values should be without color).
The above method is used to comapare values in TWO different columns – and eliminate (highlight) any duplicates.
If you have the more normal challenge of finding duplicate rows – based on duplicate values in a SINGLE column, you can use the built-in ‘Find Duplicates’ function (under Data)
- Select ALL the rows (highlight all your data)
- Use the Data–>Remove duplicates function. It should prompt you to pick the COLUMN( S ) that contain duplicates.
- Pick the COLUMN that contains duplicates.
That’s it. It should eliminate all duplicate values.
Leave a Reply