Alphabetize a list of words

S

sisdegu

Version: 2008
Operating System: Mac OS X 10.4 (Tiger)
Processor: Power PC

How can I alphabetize a list of words, I've been looking like crazy and can't seem to figure it out.
 
E

Elliott Roper

Version: 2008
Operating System: Mac OS X 10.4 (Tiger)
Processor: Power PC

How can I alphabetize a list of words, I've been looking like crazy and can't
seem to figure it out.

Me, I'd give up on trying to find it in Word.
Cut the list
Paste into Excel
Press the A-Z button
Copy and paste back into Word.

Excel is quite clever at ingesting relatively unformatted stuff. You
might have to save your list as a text file, then open that in Excel in
tricky cases.
Of course your sorted list will come back one per line.
No problem. A little find and replace back in Word will set it right.
(^p stands for paragraph mark)
 
D

Daiya Mitchell

Select the list, go to Table | Sort.

Although the command is on the Table menu, the words do NOT need to be
in a table.
 
E

Elliott Roper

Daiya Mitchell said:
Select the list, go to Table | Sort.

Oh? That easy?
Sisdequ, forget I ever opened my mouth.
I have never trusted Word to sort *anything* <heh>
 
H

Holt2646

Thanks, I can see how to do this. But can I put in alpa order a word doc that is names and addresses?"

name
street
city, state

next name
street
city, state

etc

I want to put in alpha order by last name.
 
D

Daiya Mitchell

Hi Holt, [response below]

Thanks, I can see how to do this. But can I put in alpa order a word doc that is names and addresses?"

name
street
city, state

next name
street
city, state

etc

I want to put in alpha order by last name.

Depends on the data organization. Here's one way to do this:

Both ¶ and ^p are the symbols for a paragraph return, or hitting enter.
Let's assume you have:

name¶
street¶
city state¶
¶
name¶
street¶
city state¶
¶

Make a COPY of the doc and try this:

Hit ¶ on the Standard Toolbar so that you can see the paragraph marks
and line breaks and what is going on with your document.

First, do a Find and Replace. Put ^p^p in the Find box and %%%% in the
Replace box, Replace All. This will turn every two paragraph returns
into a placeholder that is unlikely to actually exist in the doc, and
get you:

name¶
street¶
city state%%%%name¶
street¶
city state%%%%name¶

Now, do a Find and Replace and put ^p in the Find box and ^l in the
Replace box. This will turn all the paragraph returns into line breaks.
Now put %%%% into the Find box and ^p into the Replace box, and you
should have:

name[line break]
street[line break]
city state¶
name[line break]
street[line break]
city state¶

Note that you have turned each name/street/city into a SINGLE paragraph
block--that's important. Make another COPY of the document, in case the
next step goes wrong.

Now Select and Table | Sort will sort each Paragraph by Name.

If you wrote the Name as Lastname, Firstname, then you are all fine,
just Sort.

If you wrote it as Firstname Lastname, then you have to do a tricky Sort.

Select all, go to Table | Sort. Click on Options in the dialog and set
the separator as a space (type a space into the box, it will be
invisible, that's okay). OK back to the Table Sort dialog.

Set the Sort By to Field 2 instead of Paragraphs.

NOTE: things that will screw this up--names like Mary Jane Abbey will be
sorted by Jane, not Abbey. Relocate them manually.
 
J

John McGhie

You need to type a question if you want an answer. My telepathy is not
working today...



--

Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Microsoft MVP, Word and Word:Mac
Nhulunbuy, NT, Australia. mailto:[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top