Remove numeric characters in a string

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,750
Hi all, I have below sample values in column A:

q1w2e3r4
asdqw123
w12345fgh
12cv34yu

Is there a way that a formula in column B will return a value in column A but excluding all the numeric characters?

Thanks in advance.
 
Here is such a UDF...
Code:
Function NoDigits(S As String) As String
  Dim X As Long
  NoDigits = S
  For X = 0 To 9
    NoDigits = Replace(NoDigits, X, "")
  Next
End Function
HOW TO INSTALL UDFs
------------------------------------
If you are new to UDFs, they are easy to install and use. To install it, simply press ALT+F11 to go into the VB editor and, once there, click Insert/Module on its menu bar, then copy/paste the above code into the code window that just opened up. That's it.... you are done. You can now use NoDigits just like it was a built-in Excel function. For example,

=NoDigits(A1)






Sir - please tell how to remove numbers from the end of a string?
Example: dawid1 , Jhon 234, Ben 22
to dawid, Jhon, Ben
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top