Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Splt Window Diner
 
Posts: n/a
Default seach and replace '(' with an '/'

I have a text field with a '('.
ex: 125 108(130

I want to replace the '(' with a '/' without changing the format of the
field to a fraction so my result would be '125 108/130' instead of changing
it to
'125.8307692'

Would appreciate any help someone could give me.


  #2   Report Post  
Tushar Mehta
 
Posts: n/a
Default

Do you want XL to treat the result as a number or text?

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
I have a text field with a '('.
ex: 125 108(130

I want to replace the '(' with a '/' without changing the format of the
field to a fraction so my result would be '125 108/130' instead of changing
it to
'125.8307692'

Would appreciate any help someone could give me.



  #3   Report Post  
Dave O
 
Posts: n/a
Default

I clicked Edit Replace, entered "Search For" ( then "Replace With" /.
Excel automatically converted the fraction to least common
denominator. Then I formatted the cell as numeric with 7 decimal
places and got your intended result. Does that work the same for you?

  #4   Report Post  
Dave O
 
Posts: n/a
Default

Apologies, misread the post. Do you need the fraction to remain as it
originated, without reducing to least common denominators?

  #5   Report Post  
Martin P
 
Posts: n/a
Default

=SUBSTITUTE(A1,"(","/")

"Splt Window Diner" wrote:

I have a text field with a '('.
ex: 125 108(130

I want to replace the '(' with a '/' without changing the format of the
field to a fraction so my result would be '125 108/130' instead of changing
it to
'125.8307692'

Would appreciate any help someone could give me.


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
Search and Replace Rebecca New Users to Excel 3 February 27th 05 09:29 PM
Excel Forumla to seach and return all values [email protected] Excel Worksheet Functions 7 December 20th 04 04:54 PM


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