Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default want to remove all text characters equal to one character in length from text string


Thanks a bunch - I've sorted now with Find and Replace. Why didn't I
think of that???????!!!!!!

CLR Wrote:
It kinda depends on how your data is structured, with spaces between
initials or not...........but you could experiment with the Edit
Replace-
Find what: space***space Replace with: space,.........-

and see how it goes........or maybe use space*space, or space**space,
etc
etc until you get it.......may take a couple of tries.......then maybe
replace "Mr Mrs" with "Mr & Mrs".........etc etc

Vaya con Dios,
Chuck, CABGx3


"
wrote in
message
tration.com...-

I have over 2000 postal title in the following formats:
MR L A & MRS T L SMITH
MR L A SMITH
MR L A SMITH, MISS T L JONES & MASTER J S SMITH
etc etc
I want to convert it to a salutation as follows:
MR & MRS WALTON
MR SMITH
MR SMITH, MISS JONES & MASTER SMITH

I basically want to remove the initials to leave the title and
surname.
As far as I can see I need to remove all text characters except "&"
that
are 1 character in length.
Can anyone help??!!


--
-



--

  #2   Report Post  
CLR
 
Posts: n/a
Default

You're welcome...........glad it worked out for you and thanks for the
feedback.........

Vaya con Dios,
Chuck, CABGx3


"
ion.com wrote in message
tration.com...

Thanks a bunch - I've sorted now with Find and Replace. Why didn't I
think of that???????!!!!!!

CLR Wrote:
It kinda depends on how your data is structured, with spaces between
initials or not...........but you could experiment with the Edit
Replace-
Find what: space***space Replace with: space,.........-

and see how it goes........or maybe use space*space, or space**space,
etc
etc until you get it.......may take a couple of tries.......then maybe
replace "Mr Mrs" with "Mr & Mrs".........etc etc

Vaya con Dios,
Chuck, CABGx3


"
wrote in
message
tration.com...-

I have over 2000 postal title in the following formats:
MR L A & MRS T L SMITH
MR L A SMITH
MR L A SMITH, MISS T L JONES & MASTER J S SMITH
etc etc
I want to convert it to a salutation as follows:
MR & MRS WALTON
MR SMITH
MR SMITH, MISS JONES & MASTER SMITH

I basically want to remove the initials to leave the title and
surname.
As far as I can see I need to remove all text characters except "&"
that
are 1 character in length.
Can anyone help??!!


--
-



--



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
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 12:25 AM
REMOVE SPECIAL CHARACTERS FROM TEXT CELLS javila255 Excel Worksheet Functions 1 April 2nd 05 06:24 PM
How do I remove all text to the left of the @ in an email address David M Excel Worksheet Functions 6 March 1st 05 07:13 PM
remove spaces in text in excel GnarlyCar Excel Discussion (Misc queries) 3 February 1st 05 05:02 PM
Remove single text characters mawme Excel Discussion (Misc queries) 1 January 27th 05 10:25 PM


All times are GMT +1. The time now is 07:44 AM.

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

About Us

"It's about Microsoft Excel"