Make all listed names display in only one way - initials and last name

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
1,041
Office Version
  1. 365
Platform
  1. Windows
In a list of over 1,000 names there is a mix of initials and surname or full names. What formula will enable me to convert all names, however displayed, into just forename initial(s) and last name?

For example, the jumbled list contains: J Bloggs, Joseph Bloggs, Joseph C Bloggs, JC Bloggs, Joseph Charles Bloggs, JCD Bloggs and Joseph Charles David Bloggs

Thanks for your help!

Mel
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
So, you have shown us what the jumbled list might contain but, for those entries, what exact results would you want?
 
Upvote 0
Hello Peter,

In my list of examples, I am trying to achieve the following:

J Bloggs - J Bloggs, Joseph Bloggs - J Bloggs, Joseph C Bloggs - JC Bloggs, JC Bloggs - JC Bloggs, Joseph Charles Bloggs - JC Bloggs, JCD Bloggs - JCD Bloggs and Joseph Charles David Bloggs - JCD Bloggs

In essence, all I would like to have displayed all initials, however many and their last name.

Mel
 
Upvote 0
Thanks for the additional information. Does this do what you want?

23 12 14.xlsm
AB
1J BloggsJ Bloggs
2Joseph BloggsJ Bloggs
3Joseph C BloggsJC Bloggs
4JC BloggsJC Bloggs
5Joseph Charles BloggsJC Bloggs
6JCD BloggsJCD Bloggs
7Joseph Charles David BloggsJCD Bloggs
Initials and Name
Cell Formulas
RangeFormula
B1:B7B1=LET(P,TEXTBEFORE(A1," ",-1),c,MID(P,SEQUENCE(LEN(P)),1),SUBSTITUTE(CONCAT(IF(EXACT(c,UPPER(c)),c,""))," ",""))&" "&TEXTAFTER(A1," ",-1)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,586
Messages
6,179,707
Members
452,939
Latest member
WCrawford

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