Finance 3.0 - Social Network for Finance

Smart financial thinking

Tim Simpson

cell text separation

I have a question for the excel jockeys.

What is the formula to separate text in one cell into text in two cells, without uniform information?

 

Here is my example:


Brian Summers needs to be: Brian Summers
Anthony Summers needs to be: Anthony Summers

 

I appreciate any advice,

Tim Simpson

 

Reply to This

Replies to This Discussion

You could try the "Text to Columns" function, using a space as a separator:

Data --> Text to Columns --> Delimited Width --> Use Space as Delimiter

Reply to This

After daniel

Alt + D + E

Delimit using space

Reply to This

However if one of the names has a middlename then it goes wrong, as it will mix up middle and surname in the same column.

Try this thread for a formula solution http://www.mrexcel.com/forum/showthread.php?t=9179

Reply to This

Hi Tim,
You could just do a text to columns split, but if you specifically want a formula, there is one you can use.
Assuming "Brian Summers" appears in cell A1, you can get the value "Brian" by the formula =LEFT(A1,FIND(" ",A1)-1) and the value "Summers" by the formula =RIGHT(A1,FIND(" ",A1)+1).
I hope that helps. Of course if you have a middle name, it will just pick up the first and last word.
For a list of free Microsoft Excel tutorials, see: http://www.plumsolutions.com.au/tutorials
Danielle Stein Fairhurst
www.plumsolutions.com.au

Reply to This

Thank you Danielle, this was exactly what i was looking for

Reply to This

Dear Simpson You have shown partiality towards me. I gave you correct answer but you didnt appreciated me as you appreciated Miss Daniella and also you have appreciated Daniella without verifying how the formula works. I will bet you that the formula given by Daniella for returning the second name will work only in the first instance it wont work in the second and subsequent instance which i gave you . Only my formula will work for second name.

Reply to This

this is cool thank you Danielle

Reply to This

Hi Daniella your formula for returning second name will not work properly in all instances please see the attached sheet to see how your formula works and what is the right formula
Attachments:

Reply to This



It is called as "Convert Text to Column Wizard".

You just have to Fixed the width of the text by dragging the line with arrow representing
the column break. Just go to help and type the above. Try to open the uploaded file how
it looks like. Or refer above for guidance. Just click nexxt to proceed further.
Attachments:

Reply to This

1st, verify that there are no more than two words in each cell.
2nd, to the right of the column containing the names (for illustration, call it column A), insert two blank columns (B and C).
3rd, click on the top of column A to select the entire column.
4th, in Excel 2000 and 2003, click on Data, Text to Columns, and, as the delimiter, uncheck 'comma' and check 'space'.
Click Okay

Reply to This

Dear Tim this the answer of ur query please acknowledge this to me through mail irshadedv@gmail.com
Attachments:

Reply to This

yes, someone else reccommended this, thank you for your post

Reply to This

RSS

© 2010   Created by Finance 3.0

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!