Ok i have a spreadsheet with names

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a spreadsheet that I have their name this way first name last name,
when i click on assort by alphabet it does not put them in the right order.
So I want to switch it to last name, first name is there a way I can do this.

Example:

Susan Legler want it as Legler, Susan

Thank you Susan Legler
 
Help said:
I have a spreadsheet that I have their name this way first name last name,
when i click on assort by alphabet it does not put them in the right order.
So I want to switch it to last name, first name is there a way I can do this.

Example:

Susan Legler want it as Legler, Susan

Thank you Susan Legler

Assume your data is in Cell A1, put this formula in B1:
=RIGHT(A1,LEN(A1)-FIND(" ",A1))&","&LEFT(A1,FIND(" ",A1)-1)

Then sort by Column B

This only works if you data is in a consistent format as you have shown
it
 

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

Back
Top