FORMULAE - REPLACE

  • Thread starter Thread starter DarkStar
  • Start date Start date
D

DarkStar

How do I replace the first name with the first initial from a list of first
an d last names?

e.g.

John Doe with J Doe

Thank you,
 
Here is another way...

=SUBSTITUTE(A1,MID(A1,2,FIND(" ",A1)-2),"")

Rick
 
How do I replace the first name with the first initial from a list of first
an d last names?

e.g.

John Doe with J Doe

Thank you,


=REPLACE(A1,2,FIND(" ",A1)-2,"")

If it is possible that either the first or last name is not properly
capitalized, you could use this to also capitalize properly:

=PROPER(REPLACE(A1,2,FIND(" ",A1)-2,""))

--ron
 
Back
Top