Finding specific numbers in multiple characters

computerdud

New Member
Joined
Jul 21, 2016
Messages
2
Hi there, this has been driving me crazy. I receive raw data and I'm trying to sort it for inventory purposes; the cell looks like this:

[TABLE="width: 606"]
<colgroup><col></colgroup><tbody>[TR]
[TD]08/24 Shifts: 08am-11am (30 projected)
[/TD]
[/TR]
</tbody>[/TABLE]


I am looking to extract the number after the parenthesis and it's been giving me issues. In this case I would need the number 30. I do not need dates or shift times. Other cases:

[TABLE="width: 606"]
<colgroup><col></colgroup><tbody>[TR]
[TD]07/18 Shifts: 05am-4pm (60-74 projected) [/TD]
[/TR]
</tbody>[/TABLE]


I could go with the range OR just the higher number. Any suggestions?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Does this do what you want...

=REPLACE(LEFT(A1,FIND(" ",A1,FIND("(",A1))-1),1,FIND("(",A1),"")
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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