how do you flip the order of the content in a cell.

M

MLD

How do I flip the order of the content in a cell. i.e if the cell reads
Michael Smith how do I get it to flip to Smith Michael without having to
retype.
 
R

Rick Rothstein \(MVP - VB\)

This formula will flip the two as you have shown...

=MID(A1&" "&A1,FIND(" ",A1)+1,LEN(A1))

However, if you want to flip them and put a comma separator in the flipped
text, use this formula...

=MID(A1&", "&A1,FIND(" ",A1)+1,LEN(A1)+1)

Rick
 

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