Montana Man
asked on
Excel
In Excel 2010 i have a colum that has names like Mike, Mike E. Mike E. Jones, etc i would like to strip off everything after a space, if a space does not exsist to use what is in there.
Robert F
Michael E. "Mike"
Maryeann
Stephen
So in this example it would return a Robert, Michael, Maryeann, Stephen in the new column. Also, I want to combine 3 columns into one new one only using the first 4 characters in the last column. Example:
Bolan Jared 19890705
So the new column would contain: bolanJared1989
Robert F
Michael E. "Mike"
Maryeann
Stephen
So in this example it would return a Robert, Michael, Maryeann, Stephen in the new column. Also, I want to combine 3 columns into one new one only using the first 4 characters in the last column. Example:
Bolan Jared 19890705
So the new column would contain: bolanJared1989
ASKER
Perfect for the part of the question, how about the second? Thanks!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
=LEFT(A2,IFERROR(FIND(" ",A2)-1,LEN(A2)))
and copy down
Dave