Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Eliminate Duplicate Row

I have a worksheet with approx 4,000 rows. Some of the items in Column A are
duplicates. How do I delete an entire Row if there is a duplicate of the
item in Column A ?? Thanks..
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Eliminate Duplicate Row

Sortuse a loop macro from the bottom up asking if cell +1<cell then
row.delete

for i=cells(rows.count,1).end(xlup).row to 1 step -1
if cells(i+1,1)<cells(i,1)then rows(i+1).delete
next i

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Chip" wrote in message
...
I have a worksheet with approx 4,000 rows. Some of the items in Column A
are
duplicates. How do I delete an entire Row if there is a duplicate of the
item in Column A ?? Thanks..


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to eliminate duplicate numbers OPer Excel Worksheet Functions 5 September 11th 09 10:29 PM
Eliminate duplicate values in drop down list irvine79 Excel Discussion (Misc queries) 1 February 3rd 09 09:30 PM
Eliminate Duplicate Rows - Add columns Accordingly meendar Excel Discussion (Misc queries) 1 April 11th 06 05:15 PM
In 2 Excel worksheets, I am trying to eliminate duplicate entries jgentile Excel Worksheet Functions 2 November 6th 05 01:05 AM
How to eliminate duplicate entries Tara Keane Excel Discussion (Misc queries) 4 March 2nd 05 05:33 PM


All times are GMT +1. The time now is 08:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"