Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Replace function into text

Hi all, I have very long document names listed in column A, which are NOT
coded, and the names of the documents have somewhere in the them the
following text:"P -". the thing is that the amount of characters to the right
or letf is not always the same, and I would like to copy in th B column the
same names but having the "P -" replaced by an "F -". I need this to be a
funcion and not to use the replace command.

Thanks you all for your help
Álvaro
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default Replace function into text

=SUBSTITUTE(A1,"P -","F -")

--
Regards,
Dave


"Álvaro" wrote:

Hi all, I have very long document names listed in column A, which are NOT
coded, and the names of the documents have somewhere in the them the
following text:"P -". the thing is that the amount of characters to the right
or letf is not always the same, and I would like to copy in th B column the
same names but having the "P -" replaced by an "F -". I need this to be a
funcion and not to use the replace command.

Thanks you all for your help
Álvaro

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 95
Default Replace function into text

You may use the SUBSTITUTE function, something like:
=SUBSTITUTE(A1,"P -","F -")

Hope this helps,
Miguel.

"Álvaro" wrote:

Hi all, I have very long document names listed in column A, which are NOT
coded, and the names of the documents have somewhere in the them the
following text:"P -". the thing is that the amount of characters to the right
or letf is not always the same, and I would like to copy in th B column the
same names but having the "P -" replaced by an "F -". I need this to be a
funcion and not to use the replace command.

Thanks you all for your help
Álvaro

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Replace function into text

Hi David,thanks so much for your quick response!!!
it worked perfectly!!!!
Saludos
álvaro

"David Billigmeier" wrote:

=SUBSTITUTE(A1,"P -","F -")

--
Regards,
Dave


"Álvaro" wrote:

Hi all, I have very long document names listed in column A, which are NOT
coded, and the names of the documents have somewhere in the them the
following text:"P -". the thing is that the amount of characters to the right
or letf is not always the same, and I would like to copy in th B column the
same names but having the "P -" replaced by an "F -". I need this to be a
funcion and not to use the replace command.

Thanks you all for your help
Álvaro

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Replace function into text

Hola Miguel , thanks so much for your quick response!!!
it worked perfectly!!!!
Saludos
álvaro

"Miguel Zapico" wrote:

You may use the SUBSTITUTE function, something like:
=SUBSTITUTE(A1,"P -","F -")

Hope this helps,
Miguel.

"Álvaro" wrote:

Hi all, I have very long document names listed in column A, which are NOT
coded, and the names of the documents have somewhere in the them the
following text:"P -". the thing is that the amount of characters to the right
or letf is not always the same, and I would like to copy in th B column the
same names but having the "P -" replaced by an "F -". I need this to be a
funcion and not to use the replace command.

Thanks you all for your help
Álvaro

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
Find & Replace text format jmn13 Excel Discussion (Misc queries) 2 May 25th 06 06:18 PM
How to replace a text with another zeeshan13 Excel Worksheet Functions 1 March 28th 06 10:51 PM
If function with text Richard New Users to Excel 2 February 13th 06 09:15 PM
If function with text Richard Excel Worksheet Functions 2 February 13th 06 09:15 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM


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