Last Initial, First Name

leeshjay

New Member
Joined
May 6, 2021
Messages
3
Office Version
  1. 2010
Platform
  1. Windows
I have a list of people in the Last Name, First Name format. So everyone doesn't acquire last names, I've been asked to change it to Last Initial, First Name. Is there an equation for that?

Ex. Smith, John to S, John

Thank you!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Is this what you're looking for?

Book2
AB
1Smith, JohnS, John
2Leesh, JayL, Jay
3Jones, WilliamJ, William
Sheet2
Cell Formulas
RangeFormula
B1:B3B1=LEFT(A1,1)&RIGHT(A1,LEN(A1)-FIND(",",A1)+1)
 
Upvote 0
Bit late, but another option
Excel Formula:
=REPLACE(A1,2,FIND(",",A1)-2,"")
 
Upvote 0

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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