Extracting a Number

oscark37

Board Regular
Joined
Nov 23, 2015
Messages
56
I've tried a couple things, but can't get a formula to successfully extract the number (6-10) in each cell. :(

Any ideas?

Thanks,

Oscar

[TABLE="width: 500"]
<tbody>[TR]
[TD]PERS BSTNE SIM/MOD RING GSS 8 HEA[/TD]
[/TR]
[TR]
[TD]PERS BSTNE SIM/MOD RING SS 10 HLO[/TD]
[/TR]
[TR]
[TD]PERS BSTNE SIM/MOD RING GSS 9 HEA[/TD]
[/TR]
[TR]
[TD]PERS BSTNE SIM/MOD RING SS 6 HEA[/TD]
[/TR]
[TR]
[TD]PERS BSTNE SIM/MOD RING SS 10 HEA[/TD]
[/TR]
[TR]
[TD]PERS BSTNE SIM/MOD RING SS 10 HEA[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Are there any other numbers possible in your data? Is the format of your data always the same, e.g. starting with the number you have a number, a space, and 3 characters?

If there are no other numbers in the data, this would work:

=LOOKUP(2^16,FIND({6,7,8,9,10},A1),{6,7,8,9,10})
 
Upvote 0
Genius! Thank you!

Are there any other numbers possible in your data? Is the format of your data always the same, e.g. starting with the number you have a number, a space, and 3 characters?

If there are no other numbers in the data, this would work:

=LOOKUP(2^16,FIND({6,7,8,9,10},A1),{6,7,8,9,10})
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,023
Latest member
alabaz

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