Page 1
Page 1
Started By
Message

Excel Question - Removing all duplicate names - SOLVED

Posted on 11/30/20 at 4:21 pm
Posted by CAD703X
Liberty Island
Member since Jul 2008
77947 posts
Posted on 11/30/20 at 4:21 pm
I have 2 columns of company names.

Column A has roughly 1,000 companies

Column B has roughly 300 companies

Every company in column B is in column A

I want to create a column C with the other 700 companies.

So my question is how do I generate a list for column C that only contains names not duplicated in column B?

I am pretty well versed in Excel but I'm having a complete brain fart on this one. I know there's got to be a simple way to get this list.
This post was edited on 11/30/20 at 4:53 pm
Posted by mchias1
Member since Dec 2009
801 posts
Posted on 11/30/20 at 4:30 pm to
Manually or auto?

Manually set up a vlookup that highlights dupes in column A. Then filter on color. Copy remaining names to column c.
This post was edited on 11/30/20 at 4:31 pm
Posted by CAD703X
Liberty Island
Member since Jul 2008
77947 posts
Posted on 11/30/20 at 4:36 pm to
yep! you got it!!

=IF(ISERROR(VLOOKUP(A2,$B$2:$B$270, 1, FALSE)),"Non-duplicate","Duplicate" )

just flow this down to pick up every record in column A.



that will do the trick. Ugly & not elegant but quick way to get what I've been asked for. just resorted by 'duplicate' v non-duplicate' and pulled those names out.

the vlookup was the thing i was trying to think of.
This post was edited on 11/30/20 at 4:52 pm
Posted by deNYEd
Houston
Member since Jul 2007
9689 posts
Posted on 12/1/20 at 9:34 am to
why not just highlight both columns and conditional format for duplicates then filter for un-highlighted cells?

everyone always trying to use vlookup. It is outdated now as well with the introduction of xlookup
This post was edited on 12/1/20 at 10:01 am
Posted by CAD703X
Liberty Island
Member since Jul 2008
77947 posts
Posted on 12/1/20 at 10:25 am to
quote:

deNYEd


where the hell have you been??
Posted by castorinho
13623 posts
Member since Nov 2010
82010 posts
Posted on 12/1/20 at 11:44 am to
quote:

xlookup
I'm embarrassed that I did not know this. No more cut insert columns when the shite you're looking in a column AFTER.
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram