A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Remove middle initial from "first name middle initial"



 
 
Thread Tools Display Modes
  #11  
Old June 28th, 2005, 09:25 PM
JFALK
external usenet poster
 
Posts: n/a
Default


I need a similar effect to the one above, but my list contains names in
the form LASTNAME, FIRSTNAME MI. and I want to remove the middle
initials. Not all of them have a middle initial in them. Thanks!


--
JFALK
------------------------------------------------------------------------
JFALK's Profile: http://www.excelforum.com/member.php...o&userid=24728
View this thread: http://www.excelforum.com/showthread...hreadid=381827

  #12  
Old June 28th, 2005, 10:15 PM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default

On Tue, 28 Jun 2005 15:25:51 -0500, JFALK
wrote:


I need a similar effect to the one above, but my list contains names in
the form LASTNAME, FIRSTNAME MI. and I want to remove the middle
initials. Not all of them have a middle initial in them. Thanks!



Try this:

=IF((LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1)," ","")))2,
TRIM(A1),LEFT(TRIM(A1),FIND(CHAR(1),SUBSTITUTE(
TRIM(A1)," ",CHAR(1),2))-1))


--ron
  #13  
Old June 29th, 2005, 02:57 PM
JFALK
external usenet poster
 
Posts: n/a
Default


Ron Rosenfeld Wrote:
On Tue, 28 Jun 2005 15:25:51 -0500, JFALK
wrote:


I need a similar effect to the one above, but my list contains names

in
the form LASTNAME, FIRSTNAME MI. and I want to remove the middle
initials. Not all of them have a middle initial in them. Thanks!



Try this:

=IF((LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1)," ","")))2,
TRIM(A1),LEFT(TRIM(A1),FIND(CHAR(1),SUBSTITUTE(
TRIM(A1)," ",CHAR(1),2))-1))


--ron



THANK YOU! It worked perfectly!


--
JFALK
------------------------------------------------------------------------
JFALK's Profile: http://www.excelforum.com/member.php...o&userid=24728
View this thread: http://www.excelforum.com/showthread...hreadid=381827

  #14  
Old June 29th, 2005, 03:33 PM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default

On Wed, 29 Jun 2005 08:57:46 -0500, JFALK
wrote:




THANK YOU! It worked perfectly!


You're welcome. Glad to help.


--ron
  #15  
Old September 26th, 2005, 02:40 PM
dave glynn
external usenet poster
 
Posts: n/a
Default

I have a list of names that includes at leats one first name.

I need to reduce the first name to its initial so that my list which is


William Smith

Joseph Bloggs
etc


becomes

W Smith

J Bloggs

etc...


Thanks


Dave Glynn
  #16  
Old September 26th, 2005, 06:13 PM
Dave Peterson
external usenet poster
 
Posts: n/a
Default

Maybe you could use a formula:

=LEFT(A1,1)&MID(A1,SEARCH(" ",A1),255)



dave glynn wrote:

I have a list of names that includes at leats one first name.

I need to reduce the first name to its initial so that my list which is

William Smith

Joseph Bloggs
etc

becomes

W Smith

J Bloggs

etc...

Thanks

Dave Glynn


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating/defining relationship between two tables Giz New Users 2 April 18th, 2005 09:24 PM
how do I remove blank pages in the middle of my word document Tena General Discussions 1 January 20th, 2005 07:07 PM
office 2000 remove tools bud Setup, Installing & Configuration 1 May 27th, 2004 10:40 AM
Identifying Upper case or identifying a single initial Peo Sjoblom Worksheet Functions 1 January 23rd, 2004 07:41 PM
Remove spaces in the middle of a cell? Jacqueline Bendana Worksheet Functions 1 October 1st, 2003 10:07 PM


All times are GMT +1. The time now is 06:32 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.