Duplicate Data

l KAUTION l

Board Regular
Joined
Nov 3, 2005
Messages
90
I have data like the following:

A B C
1 John West 11 14
2 John West 12 16
3 John West 10 11
4 Tom East 8 11
5 Tom East 9 10
6 Jim North 4 9
7 Tim South 5 7

I need to remove the duplicated names in column A, I also need the min number in column B and the max number in column C that match the names in column A.

Such as:

A B C
1 John West 10 16
2 Tom East 8 11
3 Jim North 4 9
4 Tim South 5 7

If I need to provide more information, I can try.
Thanks in advance!!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi

Put the data above in the range A2:C8, put a heading in A1, then use data, filter, advanced filter, on the range A1:A8 to extract a unique list of the names to the range G1.

Then in H2 array enter (ctrl, shift, enter) the formula
=MIN(IF($A$2:$A$8=G2,$B$2:$B$8,""))

I2 array enter
=MAX(IF($A$2:$A$8=G2,$C$2:$C$8,""))

Copy down as required.

Tony
 
Upvote 0
Thanks for the reply acw! This does seem to work however is there anyway this could be done with a formula of some type? I will need to do this on a weekly basis and the less manual the better. Also for some reason if the name appears 3 times it returns 2 names.

Example of what happens:
Name
Bob
Bob
Bob
Tom
Tom
Tim
Ron

Would be returned as:

Name
Bob
Bob
Tom
Tim
Ron
 
Upvote 0
I resorted to Access and retrieved the information that I needed.
Also I redid the advanced autofilter step and it did eliminate all duplicates. Not sure why it didn't the first time though :rolleyes:
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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