Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Function to Rearrange Name
Let's say I have a cell (A1) that contains the following:
Smith, John D. and I want a formula that will return: John D. Smith How can this be done? Thank you |
#2
|
|||
|
|||
=MID(A1,FIND(",",A1)+2,LEN(A1))&" "&MID(A1,1,FIND(",",A1)-1)
"Karen" wrote in message ... Let's say I have a cell (A1) that contains the following: Smith, John D. and I want a formula that will return: John D. Smith How can this be done? Thank you |
#3
|
|||
|
|||
Thank you VERY much - It works great!
"N Harkawat" wrote: =MID(A1,FIND(",",A1)+2,LEN(A1))&" "&MID(A1,1,FIND(",",A1)-1) "Karen" wrote in message ... Let's say I have a cell (A1) that contains the following: Smith, John D. and I want a formula that will return: John D. Smith How can this be done? Thank you |
#4
|
|||
|
|||
Or
=TRIM(RIGHT(A1,LEN(A1)-FIND(",",A1)) & " " & LEFT(A1,FIND(",",A1)-1)) HTH, -- Gary Brown "Karen" wrote: Let's say I have a cell (A1) that contains the following: Smith, John D. and I want a formula that will return: John D. Smith How can this be done? Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
clock | Excel Worksheet Functions | |||
Need a ISWorkday Function -- Any Ideas | Excel Worksheet Functions | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions |