Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Challenge: Copy across surname


HI,

I have a list of 60,000 names in A column in different formats.

Example:
Mr John Smith
Mr and Mrs B & A Jones
Z Houlous

Given the massive amount of names and the myriad of different formats
of name using 'Test to Columns' and 'sorting' is not an option.

Is there a formulae or series of formuleas I could use to extract the
surnames, which will ALWAYS be the last name to the right. I thought
maybe an advanced lookup or something.

Anybody willing to accept the challenge?

Cheers


--
notyetnoob
------------------------------------------------------------------------
notyetnoob's Profile: http://www.excelforum.com/member.php...o&userid=36968
View this thread: http://www.excelforum.com/showthread...hreadid=566882

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Challenge: Copy across surname

=RIGHT(A1,LEN(A1)-FIND("^^",SUBSTITUTE(A1," ",
"^^",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))

notyetnoob wrote:

HI,

I have a list of 60,000 names in A column in different formats.

Example:
Mr John Smith
Mr and Mrs B & A Jones
Z Houlous

Given the massive amount of names and the myriad of different formats
of name using 'Test to Columns' and 'sorting' is not an option.

Is there a formulae or series of formuleas I could use to extract the
surnames, which will ALWAYS be the last name to the right. I thought
maybe an advanced lookup or something.

Anybody willing to accept the challenge?

Cheers

--
notyetnoob
------------------------------------------------------------------------
notyetnoob's Profile: http://www.excelforum.com/member.php...o&userid=36968
View this thread: http://www.excelforum.com/showthread...hreadid=566882


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Challenge: Copy across surname


Wow thanks Dave thats excellent....

Works a treat.. :)


--
notyetnoob
------------------------------------------------------------------------
notyetnoob's Profile: http://www.excelforum.com/member.php...o&userid=36968
View this thread: http://www.excelforum.com/showthread...hreadid=566882

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
Match, Copy, Merge, Delete and Repeat... MVP's this one's for you. dannyfromnj Excel Discussion (Misc queries) 1 June 19th 06 10:14 PM
Disable Cut & Copy then restore on exiting sparx Excel Discussion (Misc queries) 0 April 30th 06 08:43 PM
copy between worksheets does not copy formulae just values Chris@1000 Oaks Excel Discussion (Misc queries) 0 March 19th 06 11:44 AM
Conform a total to a list of results? xmaveric Excel Discussion (Misc queries) 1 August 21st 05 07:22 PM
Copy without Hidden Cols - How abrogard Excel Discussion (Misc queries) 1 July 15th 05 07:54 AM


All times are GMT +1. The time now is 03:32 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"