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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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