Add comma in last name first name

J

Johnnie

Currenly, I have lastname firstname in the same cell and need to add a comma
to show lastname, firstname in the same cell. Any suggestions for a formula?
Thank you in advance.
 
G

Gary''s Student

=SUBSTITUTE(A1," ",", ")

so if A1 contains:
Ravenswood James
the formula returns:
Ravenswood, James
 
M

Marcelo

ctrl+H

replace " " by ", "

the quotes are just to show the space.

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Johnnie" escreveu:
 

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