comparing lists excel Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/comparing-lists-excel/ Production Grade Technical Solutions | Data Encryption and Public Cloud Expert Thu, 12 Jun 2014 03:33:42 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 https://www.anujvarma.com/wp-content/uploads/anujtech.png comparing lists excel Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/comparing-lists-excel/ 32 32 The quickest way to compare two lists (for matching entries–i.e. duplicates) https://www.anujvarma.com/the-quickest-way-to-compare-two-lists-for-matching-entriesi-e-duplicates/ https://www.anujvarma.com/the-quickest-way-to-compare-two-lists-for-matching-entriesi-e-duplicates/#respond Tue, 10 Jun 2014 03:20:59 +0000 http://www.anujvarma.com/?p=2577 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 […]

The post The quickest way to compare two lists (for matching entries–i.e. duplicates) appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
In Excel (2007 and above), place each list of values in its own column. Now,

  1. Select cells in first list, then hold CTRL key and then select the second
  2. 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
  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)

  1. Select ALL the rows (highlight all your data)
  2. Use the Data–>Remove duplicates function. It should prompt you to pick the COLUMN( S ) that contain duplicates.
  3. Pick the COLUMN that contains duplicates.

That’s it. It should eliminate all  duplicate values.

The post The quickest way to compare two lists (for matching entries–i.e. duplicates) appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
https://www.anujvarma.com/the-quickest-way-to-compare-two-lists-for-matching-entriesi-e-duplicates/feed/ 0