![]() |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 10:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com