I have a large spreadsheet with last names in the format in the same column
FName LName
would like to convert that to
LName, FName
all in one column
Example
Mike Trout becomes Trout, Mike
I have a large spreadsheet with last names in the format in the same column
FName LName
would like to convert that to
LName, FName
all in one column
Example
Mike Trout becomes Trout, Mike
Like this...
A1 = Mike Trout
This formula entered in B1:
=MID(A1,FIND(" ",A1)+1,20)&", "&LEFT(A1,FIND(" ",A1)-1)
However, are there any 3 word names?
That formula will work on a name like Eddie Van Halen but it won't work on a name like Betty Jo Spickerman.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Or in case there is a middle name:
Formula:
=TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",30)),30))&", "&SUBSTITUTE(A1,TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",30)),30)),"")
v A B 1 George Lucas Lucas, George 2 Brad Pitt Pitt, Brad 3 George Timothy Clooney Clooney, George Timothy
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks