How to extract a value from between brackets

Oldie

New Member
Joined
Jul 31, 2007
Messages
9
What a great site.
I've looked about here but haven't been able to find the answer although I'm sure it will be somewhere.
I have a value that is bracketed and I just want the number extracted to another cell. I've shown three part lines of the data I need to extract from.
Cd 56.5, (53.5), 1:34.16, (36.22),
53.0, (53.0), 1:36.32, (37.36), 6/1,
-2.0, (54.0), 1:59.26, (36.52), 9/1,
The values I need are 53.5 from line one-53.0 from line two & 54.0 from line three.
As you can see they don't always sit in the same column.
I'm a very basic Excel user so do be kind.
Can someone help me out please?
 
Thank you all.
Krishnakumar, I reckon you have it.
That worked just fine.
I'm impressed.
To eveyone, a big thank you.
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Barry
You and I posted around the same time there before.
I'd just like to let you know, that formula worked too.
I'm pleased I was told of this site.
Just great.
Thanks.
 
Upvote 0
Hi, welcome to the board!

It looks like you just want the first number in parentheses.

Perhaps:
=REPLACE(LEFT(A1,FIND(")",A1)-1),1,FIND("(",A1),"")

Copy down.

If you want it to actually be a number rather than a text string add a +0 to the end.

*AB
1Cd 56.5, (53.5), 1:34.16, (36.22),53.5
253.0, (53.0), 1:36.32, (37.36), 6/1,53.0
3-2.0, (54.0), 1:59.26, (36.52), 9/1, 54.0

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 282px;"><col style="width: 64px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B1=REPLACE(LEFT(A1,FIND(")",A1)-1),1,FIND("(",A1),"")
B2=REPLACE(LEFT(A2,FIND(")",A2)-1),1,FIND("(",A2),"")
B3=REPLACE(LEFT(A3,FIND(")",A3)-1),1,FIND("(",A3),"")

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

hi i know this is an old post but im panicing now, this formula looks close to what i need. here is the sheet:
Sick
DaysHoursDate (Hours)
SEP 0.0029(3), 31(2)
OCT 0.00
NOV 0.00
DEC 0.00
JAN 0.00
FEB 0.00
MAR 0.00
APR 0.00
MAY 0.00
JUN 0.00
JUL 0.00
AUG 0.00
Total:0.00#NAME? What i need is to extract the numbers from all the brackets in the "date/hours" field and auto sum them, then put them in the "hours" field

<tbody>
</tbody><colgroup><col><col><col><col></colgroup>
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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