A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Alphabetizing Help



 
 
Thread Tools Display Modes
  #1  
Old July 7th, 2004, 05:08 PM
BenjieLop
external usenet poster
 
Posts: n/a
Default Alphabetizing Help

These are my data:

ColumnA ColumnB ColumnC

Smith William
Jones Weston
Ashby Albert
Aaron Fred
Smith Elaine
White Tom
Jones Albert

Column A contains the LAST NAMES and Column B has the FIRST NAMES.

I need help in a formula that will alphabetize the names in Column C in
this format : LAST NAME, FIRST NAME

Note that there are 2 entries for "Smith" and "Jones" and this is where
I get stumped.

Please help ... thanks and regards.


---
Message posted from http://www.ExcelForum.com/

  #2  
Old July 7th, 2004, 05:13 PM
kkknie
external usenet poster
 
Posts: n/a
Default Alphabetizing Help

First sort columns A and B (by B first then by A)

Next, in C1 place:

=B1 & ", " & A1

Copy down for all of your names.

K


---
Message posted from http://www.ExcelForum.com/

  #3  
Old July 7th, 2004, 05:14 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default Alphabetizing Help

Is there a reason you can't use datasort and sort by last names and then by
first?

--

Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)


"BenjieLop " wrote in message
...
These are my data:

ColumnA ColumnB ColumnC

Smith William
Jones Weston
Ashby Albert
Aaron Fred
Smith Elaine
White Tom
Jones Albert

Column A contains the LAST NAMES and Column B has the FIRST NAMES.

I need help in a formula that will alphabetize the names in Column C in
this format : LAST NAME, FIRST NAME

Note that there are 2 entries for "Smith" and "Jones" and this is where
I get stumped.

Please help ... thanks and regards.


---
Message posted from http://www.ExcelForum.com/



  #4  
Old July 7th, 2004, 07:14 PM
BenjieLop
external usenet poster
 
Posts: n/a
Default Alphabetizing Help

I may not have explained my data very clearly so please allow me to
clarify my entries.

Let us consider the first entry

ColumnA ColumnB
Smith William

He is "William Smith" and so his corresponding entry in Column C
(following the format LASTNAME, FNAME) will be "Smith, William".

If I sort by columns and do a =B1&","&A1 for Column C, instead of
getting "Smith, William" I will be getting

"Smith, Tom" and "White, William"

I hope I have presented my data clearer this time.

Thanks again.


BenjieLop


---
Message posted from http://www.ExcelForum.com/

  #5  
Old July 7th, 2004, 11:55 PM
Sandy Mann
external usenet poster
 
Posts: n/a
Default Alphabetizing Help

BenjieLop,

It sounds to me as if you are sorting the columns as individual sorts.
Highlight both columns and the sort by column B and then with the data still
highlighted, sort by column A and I think that you will have what you want.

HTH

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"BenjieLop " wrote in message
...
I may not have explained my data very clearly so please allow me to
clarify my entries.

Let us consider the first entry

ColumnA ColumnB
Smith William

He is "William Smith" and so his corresponding entry in Column C
(following the format LASTNAME, FNAME) will be "Smith, William".

If I sort by columns and do a =B1&","&A1 for Column C, instead of
getting "Smith, William" I will be getting

"Smith, Tom" and "White, William"

I hope I have presented my data clearer this time.

Thanks again.


BenjieLop


---
Message posted from http://www.ExcelForum.com/



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheet Tabs - Alphabetizing Barbara Rhodes-Bridges Worksheet Functions 1 September 24th, 2003 09:07 PM


All times are GMT +1. The time now is 06:34 PM.


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