Forum Discussion
Delete duplicate rows in excel for each category
I have 2 columns name and Score. I would like to delete duplicate rows for each category(Name).
For instance- i would like to see one of the Scores(2) to be removed for rahul as there is a repetition( 1,4 record) while, the score 2 that is mapped to shyam( last record) should not be deleted.
Name Score
Rahul 2
Ravi 4
Shyam 5
Rahul 2
Ravi 6
Rahul 4
shyam 2
Output after removing duplicates
Name Score
Rahul 2
Ravi 4
Shyam 5
Ravi 6
Rahul 4
shyam 2
2 Replies
- Brad RandmarkCopper Contributor
Under the data tab, select remove duplicates.
At the prompt, select the score column.
Be advised that Excel will keep the first and delete the rest, so do an advanced sort first to order your rows appropriately.
I hope that helps and that I read the question correctly.
- Detlef_LewinSilver Contributor