Thread: Shorten A Name
View Single Post
  #2   Report Post  
mangesh_yadav
 
Posts: n/a
Default


Use:
=LEFT(A1,FIND(" ",A1)-1) & " " &
RIGHT(A1,LEN(A1)-MAX(ROW(INDIRECT("1:"&LEN(A1)))
*(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)=" ")))

confirm with control shift enter as this is an array formula.

Source:
http://www.cpearson.com/excel/excelF.htm


Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=378932