Next Question
RSS
It's very easy and I have used this method many a time. Here is how from Microsoft website:
If you are using Microsoft Office Excel 2003/Microsoft Excel 2002
"A duplicate row (also called a record) in a list is one where all values in the row are an exact match of all the values in another row. To delete duplicate rows, you filter a list for unique rows, delete the original list, and then replace it with the filtered list. The original list must have column headers.
Caution Because you are permanently deleting data, it's a good idea to copy the original list to another worksheet or workbook before using the following procedure.
1. Select all the rows, including the column headers, in the list you want to filter. Click the top left cell of the range, and then drag to the bottom right cell.
2. On the Data menu, point to Filter, and then click Advanced Filter.
3. In the Advanced Filter dialog box, click Filter the list, in place.
4. Select the Unique records only check box, and then click OK.
The filtered list is displayed and the duplicate rows are hidden.
5. On the Edit menu, click Office Clipboard.
The Clipboard task pane is displayed.
6. Make sure the filtered list is still selected, and then click Copy .
The filtered list is highlighted with bounding outlines and the selection appears as an item at the top of the Clipboard.
7. On the Data menu, point to Filter, and then click Show All.
The original list is re-displayed.
8. Press the DELETE key.
The original list is deleted.
9. In the Clipboard, click on the filtered list item.
The filtered list appears in the same location as the original list. "
Check this link :
http://office.microsoft.com/en-us/excel/HA010346261033.aspx?pid=CL100570551033
The page also has many other tips to remove duplicates in coumns, etc.
If you are using Office 2007, I believe it has direct tool to remove duplicates under Data menu:
http://www.flickr.com/photos/tyler/156760775/
Permalink | Report
That's the only way I've ever known how to do it - it may be cumbersome if you have a very large amount of data but if you only have a hundred rows or so it should be manageable.
Best of luck!
Permalink | Report
Answered Question
M$3
September 01, 2009 10:32 PM
In excel, how can you eliminate rows based on duplicate values in one column?
I have an excel sheet with multiple columns that has one column with unique identifying numbers. Several of the rows are duplicates and can be identified by having the same number in that unique identifying column. I want to eliminate the duplicate rows.
I have tried using advanced filter, but that doesn't quite do the trick.
Thanks!
I have tried using advanced filter, but that doesn't quite do the trick.
Thanks!
Interesting Question?
Yes (0)
No (0)
RSS
Best Answer Chosen by Asker
| September 01, 2009 11:26 PM |
If you are using Microsoft Office Excel 2003/Microsoft Excel 2002
"A duplicate row (also called a record) in a list is one where all values in the row are an exact match of all the values in another row. To delete duplicate rows, you filter a list for unique rows, delete the original list, and then replace it with the filtered list. The original list must have column headers.
Caution Because you are permanently deleting data, it's a good idea to copy the original list to another worksheet or workbook before using the following procedure.
1. Select all the rows, including the column headers, in the list you want to filter. Click the top left cell of the range, and then drag to the bottom right cell.
2. On the Data menu, point to Filter, and then click Advanced Filter.
3. In the Advanced Filter dialog box, click Filter the list, in place.
4. Select the Unique records only check box, and then click OK.
The filtered list is displayed and the duplicate rows are hidden.
5. On the Edit menu, click Office Clipboard.
The Clipboard task pane is displayed.
6. Make sure the filtered list is still selected, and then click Copy .
The filtered list is highlighted with bounding outlines and the selection appears as an item at the top of the Clipboard.
7. On the Data menu, point to Filter, and then click Show All.
The original list is re-displayed.
8. Press the DELETE key.
The original list is deleted.
9. In the Clipboard, click on the filtered list item.
The filtered list appears in the same location as the original list. "
Check this link :
http://office.microsoft.com/en-us/excel/HA010346261033.aspx?pid=CL100570551033
The page also has many other tips to remove duplicates in coumns, etc.
If you are using Office 2007, I believe it has direct tool to remove duplicates under Data menu:
http://www.flickr.com/photos/tyler/156760775/
| Asker's Rating: |
• Answer is in the comments - thanks!
Permalink | Report
Other Answers (1)
September 01, 2009 11:07 PM
Could you just do a data sort (select all the columns with data first), then sort by the column with the unique identifyier? Once sorted, you could highlight all the duplicates (hold down the control key and click on the gray portion to the left of Column A to select the full row, and multiple rows), then right-click and delete entire row(s)? That's the only way I've ever known how to do it - it may be cumbersome if you have a very large amount of data but if you only have a hundred rows or so it should be manageable.
Best of luck!
Permalink | Report
September 02, 2009 12:05 AM
I wish I could do it this way, but there are ~20k entries. Don't think it will quite work like that - thanks though!
Report
Answer this Question
Related Questions
Ask a Question
Buy Mahalo Dollars with Credit Card or PayPal
Top Members
Most Popular Tags
Categories
- Anonymous
- Arts & Design
- Beauty & Style
- Books & Authors
- Business
- Cars & Transportation
- Consumer Electronics
- Coupons Deals
- Education
- Entertainment
- Environment
- Fitness
- Food & Drink
- From Email
- From Iphone
- From Twitter
- Health
- History
- Hobbies
- Home & Garden
- How Tos
- Humor
- Jobs
- Legal
- Local
- Love & Relationships
- Mahalo Answers Community
- Money
- Music
- News
- NSFW
- Parenting
- Pets
- Science & Mathematics
- Services
- Shopping
- Social Science
- Society & Culture
- Sports
- Technology & Internet
- Travel
- Video Games
Welcome New Members
- hessloves969, November 24, 2009 01:35 PM
- ponderr, November 24, 2009 01:34 PM
- phantomcameron, November 24, 2009 01:33 PM
- zenphsoundinnov..., November 24, 2009 01:31 PM
- nicholas0085, November 24, 2009 01:22 PM
Mahalo Dollars are the currency of Mahalo Answers.
Each Mahalo Dollar costs $1.
Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More

I'd need a way, basically, to designate the rows where the unique identifier appears for the second, third, fourth time.
I just tried with a sample data based on your description and it works.
raw data
filtered data
If you are talking about this kind of duplicates
then "Autofilter" under Data, Filter can be used. select the unique identifier as the filter and delete any rows that you don't want.
if you have data something like this:
you can use "adv filter": after selecting data range without the unique column (if it is ok).
hope this helps, if not can you post here a screen shot of a sample data (similar looking ) with a few rows?
The problem is that the rows aren't *exact* duplicates. In reality, they differ only very slightly, but enough so that the advanced filter doesn't work. There is only one column (the unique identifier one) that will tell me if the row needs removing.
In that case, I believe autofilter can be used and then delete the rows the same unique identifier like here:
What I need is a way to flag all the duplicate rows - namely the time "car" appears the second (and third and fourth) times.
Excel Worksheet Functions
I would still like to see a 10 row sample data from you to use a suitable function to filter.
Thanks!