Hi,
I have a list of names that are ordered within a cell as "First Name" "Last Name" but want to swap it around to read "Last Name" "First Name". Is there a simple way to do this?
Hi,
I have a list of names that are ordered within a cell as "First Name" "Last Name" but want to swap it around to read "Last Name" "First Name". Is there a simple way to do this?
maybe:
=MID(A1,FIND(" ",A1,1)+1,100)&" "&LEFT(A1,FIND(" ",A1,1)-1)
if there are only two names/words in each cell.
Hi and welcome to the forum.
Try this...
=RIGHT(A1,LEN(A1)-FIND(" ",A1,1))&" "&LEFT(A1,FIND(" ",A1,1)-1)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
The first suggestion didn't work but the Right function posted by Ford has worked, thanks very much all.
Thanks for the feedback, happy to help![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks