#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Pull out Last Name

On Thu, 16 Oct 2008 12:06:41 -0700, Nikki
wrote:

Hello:

I have a name "Jane Doe" that I would like to pull the last name into a
separate column. I have used the mid((e3,1,find(" ",e3,1)-1 formula but it
only gives me Jane. I would like to pull Doe instead. Any help you can offer
is greatly appreciated.

I would like to avoid "Text to Columns" if possible because I will need to
copy the column into a separate worksheet and was hoping a formula could do
the trick.

Thanks to you all.



And just another way of extracting the last word in a string:

=TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",99)),99))

--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I pull value from c8 but only if a8 = a certain value Hoya97 Excel Discussion (Misc queries) 2 July 20th 07 04:24 PM
pull down menus Montana Excel Worksheet Functions 7 April 26th 07 06:50 AM
Pull Out Last Name WDP Excel Worksheet Functions 3 August 25th 06 02:50 AM
Pull, can't get working PaulW Excel Discussion (Misc queries) 0 May 9th 06 11:20 AM
Pull Down menu's Robin Excel Worksheet Functions 7 October 7th 05 09:31 PM


All times are GMT +1. The time now is 11:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"