Extract Number

ekhawaja

Board Regular
Joined
Dec 16, 2018
Messages
60
Office Version
  1. 365
Hello!

Looking for a formula that only pulls out number values from the cell:

HaveWant
06356A
6356​
00388A
388​
00791A
791​
03732a
3732​
E20074
20074​
00717A
717​
SES2357
2357​
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
How about
Fluff.xlsm
AB
1HaveWant
206356A6356
300388A388
400791A791
503732a3732
6E2007420074
700717A717
8SES23572357
Data
Cell Formulas
RangeFormula
B2:B8B2=--TEXTSPLIT(A2,CHAR(SEQUENCE(26,,65)),,1,1)
 
Upvote 0
An alternative with Power Query
Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Have", type text}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Numbers", each Text.Select([Have],{"0".."9"})),
    #"Removed Columns" = Table.RemoveColumns(#"Added Custom",{"Have"})
in
    #"Removed Columns"
 
Upvote 0

Forum statistics

Threads
1,215,309
Messages
6,124,180
Members
449,146
Latest member
el_gazar

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