Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Removing Digits

Hi Faraz

If you are looking for a formula solution you can try the below which uses a
helper cell. (Copied from a previous post)..Thought if this might help..

In cell A1 you have the text..
In cell B1 (helper column)
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBST ITUTE(A1,1,),2,),3,),4,),5,)

In cell C1
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBST ITUTE(B1,6,),7,),8,),9,),0,)




If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Hi Faraz, incase you are looking for a UDF

Function RemoveNums(strData As String) As String
Dim intTemp As Integer
For intTemp = 1 To Len(strData)
If Not IsNumeric(Mid(strData, intTemp, 1)) Then _
RemoveNums = RemoveNums & Mid(strData, intTemp, 1)
Next
End Function

If this post helps click Yes
---------------
Jacob Skaria


"Faraz A. Qureshi" wrote:

Any formula to convert entries like

123AAA456BBB
AA12BB4567CCC

to:

AAABBB
AABBCCC

i.e. simply removing the digits 0-9 from the entry?

Thanx in advance!

--
Best Regards,

Faraz

 
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
Removing unwanted digits bill Excel Discussion (Misc queries) 7 March 29th 07 02:10 PM
removing last 16 digits of the value of a cell destrolennox Excel Discussion (Misc queries) 4 July 19th 06 05:27 AM
Removing the last two digits of a cell kestrel Excel Worksheet Functions 3 May 17th 06 10:41 PM
removing everything from the left after 10 digits tri_p Excel Worksheet Functions 3 September 30th 05 12:33 PM
help with removing digits from a number frank Excel Discussion (Misc queries) 4 July 12th 05 02:31 AM


All times are GMT +1. The time now is 05:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"