Removing dupliate rows where reference columns has blank cells

dinsyp

New Member
Joined
Aug 26, 2014
Messages
20
Hi People,

I have a spreadsheet where there a more than 6000 people who have completed an online quiz. Some have done it more than once; others haven't started. So there are some people appearing 2-3 times with two different scores, and some appearing with no score at all.

How do I remove all rows apart from that with the highest score?

Spreadsheet layout below - the column with the scores is column G.



Anyone able to guide me - VBA is likely to be the best choice I suspect.

Regards

Andrew
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi dinsyp,

You could try; sort column G highest to lowest, then select all your columns and click "Remove duplicates" on the data tab, un-tick everything except the name column and hit ok. This will keep only the first occurance of each name and since you've sorted the score column highest to lowest the first occurance will be the highest score...

Hope this helps,
Cheers,
Alan.
 
Upvote 0
Thanks Alan,

Worked although I had to also select both the family name and the given name.

Much appreciated.

Andrew
 
Upvote 0

Forum statistics

Threads
1,222,398
Messages
6,165,770
Members
451,986
Latest member
samwize

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top