Editing data, want to remove brackets

beanpeon

New Member
Joined
Sep 14, 2010
Messages
2
I've got two large columns of numerical data, some of which have the figure I want + (.....)

I want to remove the brackets and whatever it's contents throughout the sheet.

bracketsl.jpg



Not knowing how long the contents of the brackets are has confused me.

I know that the figure I want to keep will always end going from the left 2 digits after the first decimal place.

I've tried using LEFT/RIGHT/MID but cant work out how to make it conditional to the above. Any help pls?

Thanks in advance if you read this far :-)
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try
=TRIM(LEFT(SUBSTITUTE(A1,"(",REPT(" ",255)),255)+0

If the currency sign is text in the cell rather than formatting, omit the +0
 
Upvote 0
Try
=TRIM(LEFT(SUBSTITUTE(A1,"(",REPT(" ",255)),255)+0

If the currency sign is text in the cell rather than formatting, omit the +0


Thank you very much that's excellent.

So this selects from the first bracket and then replaces any contents up to length 255 is that right?


Thanks so much for the quick response :beerchug:
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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