Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

separating text to column

Status
Not open for further replies.

mjm2001

IS-IT--Management
Joined
May 22, 2001
Messages
4
Location
US
i have a list of names in Excel and need to separate them into firstname, lastname, middle. However, the name is listed LastnameFirstnameMiddle

Ex:

SmithJohn
DoeFrankJames
BeckJoel
BlankJefferyE

Is there a way to search the cell on the next capitalized letter and separate it that way?
 
You can either create a user defined function to do it, or you can use VLOOKUP.

Either way you will have a problem with the parsing, as based on your example you don't always have all three "names", and on top of that I bet you can also get something like this.

McGuinnessShaneHenry

In this case you have 4 Upper case letters, but only three names, and you need to split them correctly.

Other situations can occur, and dealing with them is not easy.




Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top