Removing alphabets from range

JOHN007

New Member
Joined
Aug 7, 2014
Messages
38
can anyone help me out with a code to remove alphabets in a cells
example:

[TABLE="width: 239"]
<tbody>[TR]
[TD]input ----->[/TD]
[TD]output[/TD]
[/TR]
[TR]
[TD]ch0025[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]as234[/TD]
[TD]234[/TD]
[/TR]
[TR]
[TD]tr456[/TD]
[TD]456[/TD]
[/TR]
[TR]
[TD]az123[/TD]
[TD]123[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
JOHN007, Good morning.

Try to use:

=MID(A1, 3, 100)*1

Is that what you want?

I hope it helps.
 
Upvote 0
JOHN007, Good morning.

The suggested formula does exactly what was requested following the model presented.

In your new example besides removing any existing alphabets in the cell you want the result to be number or text?

Because to stay 0025 will have to be text.

In the previous example it seemed that a number result was desired.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

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