Log in

View Full Version : Excel: finding duplicate ID number


Wonder84lalala
Aug 10, 2007, 07:22 AM
Hi,

I would like to find / list any duplicated numberID in my spreadsheet, can you guys please help me.

For example:

Name IDnumber State
Product1 0001 NJ
Product2 0002 NY
Product1 0001 NJ

In this case, I will just delete either the first or third row in the spreadsheet. Thanks for your help.

ScottGem
Aug 10, 2007, 07:23 AM
Sort by ID number and scan for dups.

Depressed in MO
Aug 10, 2007, 07:28 AM
Or you can Save as a Text file, Import into Access, bring in your numbers, and then do a group by-then run your query. This can get rid of duplicates too, without having to spend a lot of time doing it manually in excel.

Duane in Japan
Oct 22, 2007, 06:05 AM
Duplicates In Data In Excel (http://www.cpearson.com/Excel/Duplicates.aspx)

For you if you need it or others looking at the archives, I like the highlighting so I can see what I am going to delete first, there are others that will just delete.

By the way, this was the first choice on Google, excel vba duplicate row, then 2 minutes of surfing the site.

Depressed in MO
Oct 22, 2007, 06:23 AM
"Bringing into Access (if they have it) is a good suggestion but why expeort to text first? Access will import/link to Excel files fine."

Scott Gem, you are correct. But with my system, sometimes we have to manipulate our data and Access's default settings don't always work when manipulating our data. I should not have put the part about converting anything to text as that was really only relative to my own personal experience and use.

Thanks for pointing that out.

T