How to separating first and last name (in a single cell...

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

Guest

I have a worksheet with a persons name in a single cell. I need to sort
these and I forget how to separate them to another set of cells to get the
last name. Since some names have 2, 3, 4 or more separate item (ex: Thomas
G. Roberts, CPA) I can figure it out.

Any help appreciated?
 
Tommy said:
I have a worksheet with a persons name in a single cell. I need to
sort these and I forget how to separate them to another set of cells
to get the last name. Since some names have 2, 3, 4 or more separate
item (ex: Thomas G. Roberts, CPA) I can figure it out.

Any help appreciated?

Text to Columns
 
Gordon

Thank you but I tried that and you get 1,2,3,4 or 5 columns this way and
they are not in order. Last name could be in column 2, 3,4 etc. Doesn't
help me in my sort.

Any other ideas?/

Thanks
 
When I do this, I use Data|Text to columns.

But then I go back and put in a formula in a helper cell.

=counta(A1:E1)

Then I sort by that column (names that look like 2 parts are grouped together
after the sort).

Then it's a manual effort (just dragging the cells to their correct columns).

But since I grouped them nicely, (if I'm lucky) I can grab a few rows of data at
one time and move them to the right/left.
 

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