Flip Values in Single Column

G

Guest

I have first name and last name in a single column it goes firstname,
lastname. the file has 8000 names is there any way i can flip it to
lastname, firstname?
 
R

Rob

Assuming Peter Rowlans is in cell A1, the following formula will show
Rowlands Peter. Depending on your needs, either insert a column alongside
the existing one and copy the formula down 8000 rows and leave as that or
copy down but then copy and paste value over the original. This formula
only works if the names are in the format you stated.

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

HTH Rob
 

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