GIVEN
Smith, John
Smith, Aaron
Smith, Zach
Smith, Betsy
QUESTION -- how can I make the above appear as
Smith, Aaron
Smith, Betsy
Smith, John
Smith, Zach
Thank you in advance and regards.
GIVEN
Smith, John
Smith, Aaron
Smith, Zach
Smith, Betsy
QUESTION -- how can I make the above appear as
Smith, Aaron
Smith, Betsy
Smith, John
Smith, Zach
Thank you in advance and regards.
BenjieLop
Houston, TX
Hi,
At the risk of stating the obvious: by sorting them. If the names are in two columns use the first column as the primary key and the second as the secondary key.
Regards
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Hi
Your question is not still clear.
If entries are in the same cells even then you can use sort command to get the required result.
If you want to separate the two names in two different cells use search function and then use sort command on both columns.
If you have an entry in B3 then use
Extract "Smith"
Extract "john" etc![]()
Please Login or Register to view this content.
If it is not helpful put more data in an excel file and upload![]()
Please Login or Register to view this content.
Regards
Mark the thread as solved if you are satisfied with the answer.
In your first post under the thread tools.
Mahju
Hi,
Can you clarify. Do you literally mean that all the text you show is in a single cell. I presume you mean that each of the four lines you showed are in 4 cells, e.g. A1:A4.
What's stopping you clicking anwhere in A1:A4 and then choosing SORT from the menu?
Regards
Just to repeat, why not sort them? Data > Sort, ...
Last edited by shg; 06-08-2011 at 02:28 PM.
Entia non sunt multiplicanda sine necessitate
Hi - You can put the surname and first name into two separate columns by using the "text to columns" feature in excel 2007 on the data tab. Choose "delimited with a coma", and exel will dump the entire name into two columns. You can then sort by first name. If you want to for whatever reason still show the last and first name together in a third column/cell, you can choose to not overwrite when using the text to columns feature, or you can concatenate after the fact.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks