#1   Report Post  
gregork
 
Posts: n/a
Default Change Text

In Cell A1 I have two types of text: 5/3 or 15/2
In Cell A2 I want a formula that changes the A1 text to 053 or 152.

Cheers
GK



  #2   Report Post  
Max
 
Posts: n/a
Default

Try in A2: =TEXT(SUBSTITUTE(A1,"/",""),"000")

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"gregork" wrote in message
...
In Cell A1 I have two types of text: 5/3 or 15/2
In Cell A2 I want a formula that changes the A1 text to 053 or 152.

Cheers
GK





  #3   Report Post  
gregork
 
Posts: n/a
Default

Thanks for your solution Max.

regards
GK

"Max" wrote in message
...
Try in A2: =TEXT(SUBSTITUTE(A1,"/",""),"000")

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"gregork" wrote in message
...
In Cell A1 I have two types of text: 5/3 or 15/2
In Cell A2 I want a formula that changes the A1 text to 053 or 152.

Cheers
GK







  #4   Report Post  
Max
 
Posts: n/a
Default

You're welcome !
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"gregork" wrote in message
...
Thanks for your solution Max.

regards
GK



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
Excel should allow me to change text color & font within tabs. hw Excel Discussion (Misc queries) 1 February 17th 05 10:52 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
how to change data in worksheet in text without confirming each s. Ronald Excel Discussion (Misc queries) 1 January 17th 05 08:27 AM
change typed text to upper case CT Cameron Excel Discussion (Misc queries) 2 November 30th 04 01:07 AM
How to change text in multiple cells from Uppercase to proper cas. Excel help Excel Worksheet Functions 1 November 17th 04 03:45 AM


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