#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Change Text

An apparent simple task...

I want to change the following Text "Surname, NameXXX" into "Surname, Name
(XXX)"

Is there a formula or Macro for this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default Change Text

What is that Triple X?

"fak119" wrote:

An apparent simple task...

I want to change the following Text "Surname, NameXXX" into "Surname, Name
(XXX)"

Is there a formula or Macro for this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Change Text

XXX stands (in this case) for three capital letters, such as "USA"


"Jaleel" wrote:

What is that Triple X?

"fak119" wrote:

An apparent simple task...

I want to change the following Text "Surname, NameXXX" into "Surname, Name
(XXX)"

Is there a formula or Macro for this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Change Text

=LEFT(A1,LEN(A1)-3)&" ("&RIGHT(A1,3)&")"

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"fak119" wrote in message
...
XXX stands (in this case) for three capital letters, such as "USA"


"Jaleel" wrote:

What is that Triple X?

"fak119" wrote:

An apparent simple task...

I want to change the following Text "Surname, NameXXX" into "Surname,

Name
(XXX)"

Is there a formula or Macro for this?



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
Text Color Change prompted by different columns NKDodd Excel Worksheet Functions 1 August 15th 06 08:13 PM
Change the tooltip text for a datapoint Hayeso Charts and Charting in Excel 4 December 16th 05 01:33 PM
How do I change the default cell formatting to be text? mojitsu Excel Discussion (Misc queries) 2 August 18th 05 05:37 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
how do I change the text case of imported data in excel? ArtLene Excel Discussion (Misc queries) 1 January 26th 05 07:08 AM


All times are GMT +1. The time now is 01:08 PM.

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"