N naveenakh New Member Mar 8, 2013 #1 How do I split the name's & Id with extra spaces pls find link http://speedy.sh/k324D/Emp-Name-Id..xlsx Thanks
How do I split the name's & Id with extra spaces pls find link http://speedy.sh/k324D/Emp-Name-Id..xlsx Thanks
Hui Excel Ninja Staff member Mar 8, 2013 #2 Naveena Why not just: Select Column A2:A37 Data, Text to Columns Delimited Select Space and Apply
N naveenakh New Member Mar 8, 2013 #3 Thanks Hui I did, but not working properly,there so many space in the cell, I tried clean, trim First Name Middle Name & Last name formula. So pls give any other solution for joining these names & id properly.
Thanks Hui I did, but not working properly,there so many space in the cell, I tried clean, trim First Name Middle Name & Last name formula. So pls give any other solution for joining these names & id properly.
Faseeh Excel Ninja Mar 8, 2013 #4 Hi Naveena, For code you can use Code: =RIGHT(A2,7) For Name you can use =LEFT(A2,LEN(A2)-LEN(C2)) But this name still contains some extra spaces. Regards, Faseeh
Hi Naveena, For code you can use Code: =RIGHT(A2,7) For Name you can use =LEFT(A2,LEN(A2)-LEN(C2)) But this name still contains some extra spaces. Regards, Faseeh
Faseeh Excel Ninja Mar 8, 2013 #6 Try this for name: Code: =MID((TRIM(SUBSTITUTE(A2,CHAR(160),""))),1,LEN(TRIM(SUBSTITUTE(A2,CHAR(160),"")))-LEN(C2))
Try this for name: Code: =MID((TRIM(SUBSTITUTE(A2,CHAR(160),""))),1,LEN(TRIM(SUBSTITUTE(A2,CHAR(160),"")))-LEN(C2))
shrivallabha Excel Ninja Mar 8, 2013 #7 If employee code is always 7 letters long then: =TRIM(SUBSTITUTE(LEFT(A2,LEN(A2)-7),CHAR(160)," ")) will also work.
If employee code is always 7 letters long then: =TRIM(SUBSTITUTE(LEFT(A2,LEN(A2)-7),CHAR(160)," ")) will also work.