Filter Datatable and only keep items that are duplicated in one Column


I have a massive datatable of about 20,000 rows. I neee to filter the Datatable to only keep rows that are duplicated in a specific column. (In the example below, Column 2)

The pictures below show what I am trying to achive.

Could you please suggest how to do this, given the large size of the datatable, perhaps with a Linq expression?

Many thanks in advance

Have a Look to the Link below. Here are different scenarios showcased and identfying duplicates by 1 column is Part of IT


Many thanks, exactly what I needed! :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.