Find and split numerical value from string

vpranitha

New Member
Joined
Jun 26, 2014
Messages
25
Hello,

I have 3 scenarios of strings like below

P(23) D(2) O(3)
Y(24) DOR(3) O(2)
YM(23) DOR1(3) O(3)

Goal is to create a formula to capture number in O for diff string examples!! and split and sum all numbers in a diff column .

Assistance is greatly appreciated.

Thank you
 
Macropod's first formula can be modified as below to better extract the O value

Excel 2007
AB
1P(23) D(2) O(3)3
2Y(24) DOR(3) O(2)2
3YM(23) DOR1(3) O(3)3
4MH(56) MO(44) O(35)35
Sheet2
Cell Formulas
RangeFormula
B1=-RIGHT(A1,LEN(A1)-SEARCH(" o(",A1)-1)
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,216,825
Messages
6,132,940
Members
449,769
Latest member
jorgemarmo

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