I have names like SamSmith and RohitSingh. I want these to be separated into either two cells, or alternatively separated by a space.
I'm not that good with excel so a step by step process would be good.
I have names like SamSmith and RohitSingh. I want these to be separated into either two cells, or alternatively separated by a space.
I'm not that good with excel so a step by step process would be good.
see this thred hope this helps :
http://www.excelforum.com/excel-general/1078415
Yeah that worked, However it cuts the words off once they hit 12 characters long, Any way of preventing this?
Cheers
Can you post your sample file? click "Go Advanced" button and find Paperclip Image Button to attach the file
This will only work on 2 word names.
Create this named formula.
Name: Letters
Refers to: =CHAR(ROW(INDIRECT("65:90")))
Then...
Data Range
A B C 1 Combined First Last 2 SamSmith Sam Smith 3 RohitSingh Rohit Singh 4 BobRobertson Bob Robertson 5 GeneGerace Gene Gerace 6 LindaCabana Linda Cabana
Enter this array formula** in B2:
=LEFT(A2,MIN(FIND(Letters,A2&Letters,2))-1)
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
Enter this formula in C2:
=MID(A2,LEN(B2)+1,20)
Select B2:C2 and copy down as needed.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks