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 / July 2007

Tip: Looking for answers? Try searching our database.

Remove Characters Until a Specific Character is Reached

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frosty 1234 - 17 May 2007 18:26 GMT
Have cells with First Last names in them - need last name only. How to delete
all characters up to and inlcuding the first blank space from left to right.
I am having difficulty because the length of the first name varies...
Signature

Thanks so much

David Billigmeier - 17 May 2007 18:32 GMT
=RIGHT(A1,LEN(A1)-SEARCH(" ",A1))

Signature

Regards,
Dave

> Have cells with First Last names in them - need last name only. How to delete
> all characters up to and inlcuding the first blank space from left to right.
> I am having difficulty because the length of the first name varies...
Frosty 1234 - 17 May 2007 21:32 GMT
This was exactly what I needed - worked great - Thanks,
Signature

Thanks so much

> =RIGHT(A1,LEN(A1)-SEARCH(" ",A1))
>
> > Have cells with First Last names in them - need last name only. How to delete
> > all characters up to and inlcuding the first blank space from left to right.
> > I am having difficulty because the length of the first name varies...
Libby - 19 Jul 2007 16:08 GMT
I am trying this formula and it tells me that I have too few arguments.  what
am I doing wrong.
Signature

Libby

> =RIGHT(A1,LEN(A1)-SEARCH(" ",A1))
>
> > Have cells with First Last names in them - need last name only. How to delete
> > all characters up to and inlcuding the first blank space from left to right.
> > I am having difficulty because the length of the first name varies...
T. Valko - 19 Jul 2007 21:51 GMT
Post the *exact* formula you are trying.

Here's another way to do the same thing:

=MID(A1,FIND(" ",A1)+1,255)

Signature

Biff
Microsoft Excel MVP

>I am trying this formula and it tells me that I have too few arguments.
>what
[quoted text clipped - 7 lines]
>> > right.
>> > I am having difficulty because the length of the first name varies...
Gord Dibben - 19 Jul 2007 22:01 GMT
Works for me as written

qwerty asdfgh in A1

=RIGHT(A1,LEN(A1)-SEARCH(" ",A1))  in B1 returns  asdfgh

Maybe you have missed something in your tyoing?

Try copy/paste from here.

Another method you may want to try is Data>Text to Columns>Delimited by space.

Gord Dibben  MS Excel MVP

>I am trying this formula and it tells me that I have too few arguments.  what
>am I doing wrong.
Stan Brown - 17 May 2007 18:44 GMT
Thu, 17 May 2007 10:26:04 -0700 from Frosty 1234 <Frosty1234
@discussions.microsoft.com>:
> Have cells with First Last names in them - need last name only. How to delete
> all characters up to and inlcuding the first blank space from left to right.
> I am having difficulty because the length of the first name varies...

=MID(A1,1+FIND(" ",A1),999)

This will fail if you have any middle names, but it will work with
two-word last names like "de Souza".

Signature

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
                                 http://OakRoadSystems.com/

Frosty 1234 - 17 May 2007 21:33 GMT
Tried this too and works as well - except of course on those with middle
names. Really appreciate the fast response.
Signature

Thanks so much

> Thu, 17 May 2007 10:26:04 -0700 from Frosty 1234 <Frosty1234
> @discussions.microsoft.com>:
[quoted text clipped - 6 lines]
> This will fail if you have any middle names, but it will work with
> two-word last names like "de Souza".
 
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.