Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Show just middle info of a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zeilski - 20 May 2008 15:44 GMT
I have learned how to show just the left info (ex. - Jane instead of Jane
Smith) and right info (ex. - Smith instead of Jane Smith), but if there is
three or more words, how do I show just the middle info?

ex. - I'd like to change Jane Sue Smith to show just Sue
Don Guillett - 20 May 2008 15:48 GMT
Look in the help index for
LEFT
RIGHT
MID

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I have learned how to show just the left info (ex. - Jane instead of Jane
> Smith) and right info (ex. - Smith instead of Jane Smith), but if there is
> three or more words, how do I show just the middle info?
>
> ex. - I'd like to change Jane Sue Smith to show just Sue
zeilski - 20 May 2008 16:13 GMT
That helps a little. But what if the starting character and the number of
characters differs?

Sally Joe Johnson
Suzanne Peggy Jefferson

> Look in the help index for
> LEFT
[quoted text clipped - 6 lines]
> >
> > ex. - I'd like to change Jane Sue Smith to show just Sue
Don Guillett - 20 May 2008 16:40 GMT
Then use FIND or SEARCH to find the starting point for you MID

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> That helps a little. But what if the starting character and the number of
> characters differs?
[quoted text clipped - 14 lines]
>> >
>> > ex. - I'd like to change Jane Sue Smith to show just Sue
David Biddulph - 20 May 2008 16:46 GMT
=MID(A1,FIND(" ",A1)+1,FIND(" ",MID(A1,FIND(" ",A1)+1,999))-1)
--
David Biddulph

> That helps a little. But what if the starting character and the number of
> characters differs?
[quoted text clipped - 14 lines]
>> >
>> > ex. - I'd like to change Jane Sue Smith to show just Sue
Reitanos - 20 May 2008 17:20 GMT
As was said already, MID, RIGHT, LEFT, and FIND are great for taking
pieces out of strings, but don't forget to error check (ISERROR is
handy). People with no middle name cause errors - and pray that Cher
does not show up in your list ;)

> =MID(A1,FIND(" ",A1)+1,FIND(" ",MID(A1,FIND(" ",A1)+1,999))-1)
> --
[quoted text clipped - 23 lines]
>
> >> > ex. - I'd like to change Jane Sue Smith to show just Sue
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.