Is there a Way - Other than Text to Columns

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,486
I've got names in a single cell:

A2 = Mr. James M. May

Can I with a series of formulas
split out:

B2 = Mr. ' with a formula in B2
C2 = James ' with a formula in C2
D2 = M. ' with a formula in D2
E2 = May ' with a formula in E2

:oops:
:oops:
:oops:
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
B2 = MID(A2,1,FIND(" ",A2)-1)
C2 = MID(A2,LEN(B2)+2,FIND(" ",A2,LEN(B2)+2) - (LEN(B2)+2))
D2 =MID(A2,LEN(B2)+LEN(C2)+3,FIND(" ",A2,LEN(B2)+LEN(C2)+3)-(LEN(B2)+LEN(C2)+3))
E2 = =MID(A2,LEN(B2)+LEN(C2)+LEN(D2)+4,LEN(A2)-(LEN(B2)+LEN(C2)+LEN(D2)+3))
 
Upvote 0
One Last Q:
Using an If() statement...

What if A2 has Mr. James May (Only)

Can I have a "" in D2 for the absence of a Middle Initial
and the E2 Show May ?

Thanks in advance......

:pray:
:pray:
 
Upvote 0
OK, I think I got it;
Formulas take care of either 3 or 4 part name components. Hooray
o_O
o_O

[/img]file:///C:/MSO2002/Office10/Addins/temp.htm#javascript:void(0);
 
Upvote 0
Can I ask why you don't want to use Text to Columns?
 
Upvote 0

Forum statistics

Threads
1,221,638
Messages
6,160,994
Members
451,682
Latest member
ogoreo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top