Help with Breaking Down Names

kpickens

New Member
Joined
Mar 9, 2012
Messages
2
I have an exported file from a program that has the names of the parents of our students at school. One field has mothers name (ie: Smith, Jane) and one field has the fathers name (ie: Smith, Bob). I am needing to make two different fields....Short Salutation - Bob & Jane and a Long Salutation - Mr. & Mrs. Bob Smith. Can anyone help with formulas to do this? Many Thanks!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
For the short hand salutation:

Code:
=MID(B1, FIND(",", B1) + 2, 20) & " & " & MID(A1, FIND(",", A1) + 2, 20)


For the long hand salutation:

Code:
="Mr & Mrs. " & RIGHT(A1, LEN(A1) - (FIND(",", A1) + 1)) & " " & LEFT(A1, FIND(",", A1) -1)


These are assuming that the husband name is in cell A1 and the wife's name is in cell B1
 
Upvote 0
Hi kpickens,

Welcome to the Board....

Assuming B2 has Mother's Name & C2 has Father's Name

For 1st one ...

D2 =MID(C2,FIND(", ",C2,1)+1,LEN(C2)) & " &" & MID(B2,FIND(", ",B2,1)+1,LEN(B2))

For 2nd one ...

E2 ="Mr. & Mrs." & MID(C2,FIND(", ",C2,1)+1,LEN(C2)) & " " & LEFT(B2,FIND(", ",B2,1))

Hope this is what you needed...
 
Upvote 0
Thanks to everyone for the help. This is wonderful and will save me an immense amount of time. Have a great weekend!
 
Upvote 0

Forum statistics

Threads
1,215,256
Messages
6,123,911
Members
449,132
Latest member
Rosie14

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