Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a list of names in colum B, that I would like to split into column C
and D. The names in column B have a first name, middle intial and a last name. I would like the last name to go into column c and the first name and middle initial to go into column D. Column B Column C Column D Mary A Jones Jones Mary A |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Put this in column C =RIGHT(B1,LEN(B1)-FIND("*",SUBSTITUTE(B1," ","*",LEN(B1)-LEN(SUBSTITUTE(B1," ",""))))) Then this in column D =SUBSTITUTE(B1,C1,"") Drag both down -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Kiley" wrote: I have a list of names in colum B, that I would like to split into column C and D. The names in column B have a first name, middle intial and a last name. I would like the last name to go into column c and the first name and middle initial to go into column D. Column B Column C Column D Mary A Jones Jones Mary A |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
To get "Jones": =MID(B1,FIND(" ",B1,FIND(" ",B1)+1)+1,LEN(B1))
to get "Mary A": =LEFT(B1,LEN(B1)-FIND(" ",B1)-1) But these will not work if the middle initial is missing best wishes -- Bernard Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme "Kiley" wrote in message ... I have a list of names in colum B, that I would like to split into column C and D. The names in column B have a first name, middle intial and a last name. I would like the last name to go into column c and the first name and middle initial to go into column D. Column B Column C Column D Mary A Jones Jones Mary A |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi In column C enter
=LEFT(A2,FIND(" ",A2,FIND(" ",A2)+1)) in column D =RIGHT(A2,FIND(" ",A2)) "Kiley" wrote: I have a list of names in colum B, that I would like to split into column C and D. The names in column B have a first name, middle intial and a last name. I would like the last name to go into column c and the first name and middle initial to go into column D. Column B Column C Column D Mary A Jones Jones Mary A |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With name in cell A1
In cell B1 =TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",255)),255)) In cell C1 =LEFT(A1,LEN(A1)-LEN(B1)) -- Jacob (MVP - Excel) "Kiley" wrote: I have a list of names in colum B, that I would like to split into column C and D. The names in column B have a first name, middle intial and a last name. I would like the last name to go into column c and the first name and middle initial to go into column D. Column B Column C Column D Mary A Jones Jones Mary A |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assume that you are having the data in A1 cell.
Copy the below formula and paste it in C1 cell. =IF(A1="","",TRIM(MID(TRIM(A1),FIND("^",SUBSTITUTE (TRIM(A1)," ","^",LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1)," ","")))),255))) Copy the below formula and paste it in D1 cell. =IF(A1="","",TRIM(LEFT(TRIM(A1),FIND("^",SUBSTITUT E(TRIM(A1)," ","^",(LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1)," ","")))))))) Remember to Click Yes, if this post helps! -------------------- (Ms-Exl-Learner) -------------------- "Kiley" wrote in message ... I have a list of names in colum B, that I would like to split into column C and D. The names in column B have a first name, middle intial and a last name. I would like the last name to go into column c and the first name and middle initial to go into column D. Column B Column C Column D Mary A Jones Jones Mary A |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need formula to split (555)555-5555LosAngeles | Excel Discussion (Misc queries) | |||
split cells with each having a formula possible? | Excel Worksheet Functions | |||
split cells with each having a formula possible? | Excel Worksheet Functions | |||
Formula to Split First and Last Names | Excel Worksheet Functions | |||
how to split the cell which has the date formula (with day) | Excel Discussion (Misc queries) |