Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 7
Default Removing duplicate entries

I have a spreadsheet with 3 columns; Name, Company & email address. I have
discovered that some of these rows (records) have been duplicated. Is there
a way I can remove just the rows of data where all the information in the 3
columns has been duplicated?

Thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,290
Default Removing duplicate entries


Check out what Chip Pearson has to say here...
http://www.cpearson.com/excel/duplicat.htm
I don't believe there is an answer there that exactly meets your needs
but there are some good techniques that you can possibly modify.

--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel add-ins)



"Roger Bell"
wrote in message
I have a spreadsheet with 3 columns; Name, Company & email address. I have
discovered that some of these rows (records) have been duplicated. Is there
a way I can remove just the rows of data where all the information in the 3
columns has been duplicated?

Thanks for any help
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Removing duplicate entries

Here's one way using non-array formulas to directly extract the list of
unique lines

Source data is assumed within cols A to C, data from row2 down

Put in D2:
=IF(COUNTA(A2:C2)<3,"",IF(SUMPRODUCT((A$2:A2=A2)*( B$2:B2=B2)*(C$2:C2=C2))1,"",ROW()))
Leave D1 blank

Put in E2:
=IF(ROWS($1:1)COUNT($D:$D),"",INDEX(A:A,SMALL($D: $D,ROWS($1:1))))
Copy E2 to G2. Select D2:G2, copy down to cover the max expected extent of
data in the source cols A to C, say down to G100? Hide away col D. Cols E to
G will return the required list of unique lines, with results all neatly
gathered at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Roger Bell" wrote:
I have a spreadsheet with 3 columns; Name, Company & email address. I have
discovered that some of these rows (records) have been duplicated. Is there
a way I can remove just the rows of data where all the information in the 3
columns has been duplicated?

Thanks for any help

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
excel - removing duplicate entries in spreadsheet prh Excel Discussion (Misc queries) 1 September 29th 06 01:05 PM
Removing duplicate entries katiek648 Excel Discussion (Misc queries) 2 August 4th 06 06:56 PM
removing duplicate entries armagan Excel Discussion (Misc queries) 1 June 12th 06 05:42 PM
Removing duplicate entries. dh01uk Excel Discussion (Misc queries) 2 January 13th 06 03:51 PM
Removing Duplicate Rows bvinternet Excel Discussion (Misc queries) 1 July 23rd 05 09:26 PM


All times are GMT +1. The time now is 06:17 AM.

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

About Us

"It's about Microsoft Excel"