breaking a field out

J

JCM

I have a column of cells that all have a last name followed by a comma and
then a first name. I need to have the last name in one column and the first
name in another. Is there a formula that will take the value of everything
up to the comma and put it in another column regardless of the length of the
name.

Example:
Column A Column B Column C
Smith, Robert Smith Robert
Washington, George Washington George
 
T

Tom Hutchins

In column B (for last name):
=LEFT(A1,FIND(",",A1)-1)

In column C (for first name):
=RIGHT(A1,LEN(A1)-FIND(",",A1))

Adjust the row if necessary and copy down as needed.

Hope this helps,

Hutch
 

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

Top