OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How can I delete duplicate address entries?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Melissa2006B
General User
General User


Joined: 15 May 2006
Posts: 44
Location: Colorado

PostPosted: Sun Nov 19, 2006 9:50 pm    Post subject: How can I delete duplicate address entries? Reply with quote

I screwed up an address list in my word processor file. It's a list of addresses that's about 40 pages long and I accidentally pasted some duplicate addresses in there and saved it.

Does Writer have a way that I can identify and delete all complete duplicate addresses, all in one operation?

These addresses consist of name on one line, then address on the next line, then city state & zip on the 3rd line, then phone on the next line.

[/b]
Back to top
View user's profile Send private message Visit poster's website
RonIA
Super User
Super User


Joined: 28 Sep 2004
Posts: 925
Location: Iowa, USA

PostPosted: Thu Dec 07, 2006 5:52 pm    Post subject: Reply with quote

As you can guess, it appears the answer is probably no.

One thing to consider, did you do a bulk paste operation? Are all the duplicates in the same block?

I guess you have probably already tried most things. A macro could be written, but it would be rather involved.
_________________
Ron from Iowa, USA
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Thu Dec 07, 2006 6:26 pm    Post subject: Reply with quote

Blind suggestion without testing, assuming english user interface and assuming you look for duplicate names in every 3rd row:
Copy the entire text
Open a new spreadsheet
Paste to cell A1
Column A should have all the lines
Ctrl+End should jump to last used cell in column A.
B1: =MOD(ROW();3)
copy cell B1 to B2
C1: = 0
C2: =IF($B2=0;COUNTIF($A$1:$A1;$A2);$C1)
How to copy B2:C2 until end of list:
Select cell B2
Shift+rightArrow
Ctrl+C
Ctrl+Shift+End
Ctrl+V
Ctrl+Home (back to single cell A1)
Menu:Data>Filter>Standard
ColumnC = 0
Copy the filtered range
Paste as unformatted text into a new writer document (Ctrl+Shift+V "unformatted")
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group