Changing Data order in Cells

A

Adam Morgan

Can someone please help me create a formula that will do
the following...

change a cell from:

doe,john

to

john,doe
 
J

JMay

Try:
=MID(A1,FIND(",",A1)+1,LEN(A1)-FIND(",",A1)+1)&", "&LEFT(A1,FIND(",",A1)-1)
with a1 = Doe, John
HTH
 
S

shockley

Or, you might like:

=RIGHT(A1, LEN(A1)-FIND(",",A1,1))&","&LEFT(A1,FIND(",",A1,1)-1)

(A1 contains john,doe)

HTH, Shockley
 

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