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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Worksheet Tabs - Alphabetizing | Barbara Rhodes-Bridges | Worksheet Functions | 1 | September 24th, 2003 09:07 PM |