remove duplicates

jammoca

Banned
Joined
Nov 6, 2002
Messages
1,100
I have three lists .. A1:A10, B1:B10, C1:C10.

In these lists are names. Some names may appear in more than one list.

I'd like a way to finish with a list that only contains non-duplicates.

Can this be done without code?

If not, what code would be necessary ?

Chris
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
ta for that, but unless I'm doing something wrong, it only seems to remove duplicates if the duplicates occur in the same column.

If I have for example, the following ....

ColA ColB ColC
harry aardvark ant
cathy banana bee
bill cathy cat
bonny dog dog
florence elephant elephant
chris florence giraffe
anastasia geebung hound
philip hislop insect
gerry idiot jerrycan
homer jamieson kite

then I'd like to return just the one list ...

harry
cathy
bill
bonny
florence
chris
anastasia
philip
gerry
homer
aardvark
banana
dog
elephant
geebung
hislop
idiot
jamieson
ant
bee
cat
giraffe
hound
insect
jerrycan
kite

notice, the duplicates of cathy, florence, dog, elephant have been removed.

Is this possible
 
Upvote 0
I have three lists .. A1:A10, B1:B10, C1:C10.

In these lists are names. Some names may appear in more than one list.

I'd like a way to finish with a list that only contains non-duplicates.

Can this be done without code?

If not, what code would be necessary ?

Chris
It can be done without code by copying the 3 columns into a single column of 30 cells and then using Remove Duplicates as suggested by drikuslee (provided you are using Excel 2007+).

If you are using Excel 2003- it still could be done manually but a few more steps would be required.


Alteratively you can use the method suggested by mirabeau here (with adjustments to the ranges).
 
Upvote 0
try this formula from bosco_yip
Excel Workbook
ABCDE
1harryaardvarkant
2cathybananabeeharry
3billcathycataardvark
4bonnydogdogant
5florenceelephantelephantcathy
6chrisflorencegiraffebanana
7anastasiageebunghoundbee
8philiphislopinsectbill
9gerryidiotjerrycancat
10homerjamiesonkitebonny
11dog
12florence
13elephant
14chris
15giraffe
16anastasia
17geebung
18hound
19philip
20hislop
21insect
22gerry
23idiot
24jerrycan
25homer
26jamieson
27kite
28
29
30
Sheet8
Excel 2007
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 
Upvote 0
You can use my duplicate master addin to generate a unique list, http://www.experts-exchange.com/A_2123.html. It does provide additional optionality to formulae approaches in that
- it can return true uniques (only occuring once) or each variable that occurs at least onc
- runs over mutiple sheets if needed
- case insensitive/white space insensitive/regex replacement if necessary

Cheers
Dave
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

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