From collectibles to cars, buy and sell all kinds of items on eBayWelcome! Sign in or register.
aAdvanced Search
Popular products
No suggestions.

Reviews & Guides

Write a guide

Get rid of duplicates in Excel with a formula

by: oemuniverse( 50345Feedback score is 50,000 to 99,999)
This guide has not received any votes yet. Be the first to vote for this guide.
Guide viewed: 702 times Tags: Excel | duplicate | formula | spreadsheet | btoem


Have you ever combined several spreadsheets but needed to get rid of the duplicates?  If you have thousands of rows to go through this can take a while.  The solution is simple:

Let us say you have a spreadsheet with Column "A" containing a Part Number.  The rest of the columns have descriptions, prices, etc.
Insert a column between "A" and "B" which then becomes "B"
Enter the following formula into the newly created column "B" at the top line 1. or line 2 if you have a header.

=If(COUNTIF($A$1:A1,A1)>1,"Dup","")

or if you have a header then change the formula to this        

=If(COUNTIF($A$2:A2,A2)>1,"Dup","")

Next you must  highlight the formula and highlight the rest of the column to the bottom of  the spreadsheet and  fill down  (Ctrl-D) the formula.
Where ever  it finds a duplicate it will put in the word  Dup and you can sort this column  so that all the Dups  are together then easily delete or copy the rows as you see fit.
     



Guide ID: 10000000009083034Guide created: 10/16/08

 
Was this guide helpful? Report this guide

Ready to share your knowledge with others? Write a guide



Member Information

oemuniverse
oemuniverse( 50345Feedback score is 50,000 to 99,999) About Me
See all guides by this member
View items for sale by this memberVisit this seller's eBay Store!
Member has an eBay StoreOEMUniverse

 


eBay Pulse | eBay Reviews | eBay Stores | Half.com | Austria | France | Germany | Italy | Spain | United Kingdom | Popular Searches
Kijiji | PayPal | ProStores | Apartments for Rent | Shopping.com | Skype | Tickets


About eBay | Announcements | Security Center | Resolution Center | eBay Toolbar | Policies | Government Relations | Site Map | Help
Copyright © 1995-2009 eBay Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. Use of this Web site constitutes acceptance of the eBay User Agreement and Privacy Policy.
eBay official time