Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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, |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=LEFT(A1)&" "&MID(A1,FIND(" ",A1)+1,99)
"DarkStar" wrote: 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, |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here is another way...
=SUBSTITUTE(A1,MID(A1,2,FIND(" ",A1)-2),"") Rick "DarkStar" wrote in message ... 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, |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=LEFT(A1)&MID(A1,FIND(" ",A1),50) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "DarkStar" wrote in message ... 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, |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Sun, 2 Mar 2008 14:34:01 -0800, DarkStar
wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
Can I replace a ' at the beginning of a text cell using Replace | Excel Discussion (Misc queries) | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions | |||
Searching TEXT in formulae, rather than results of formulae | Excel Worksheet Functions | |||
How can I use replace(alt+H) for mutiple items needing replace | Excel Worksheet Functions |