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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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