Text Search

marquez313

New Member
Joined
Mar 10, 2009
Messages
18
I'm trying to convert this:
<table border="0" cellpadding="0" cellspacing="0" width="180"><col width="180"><tr height="17"> <td class="xl63" style="height: 12.75pt; width: 135pt; font-size: 10pt; color: black; font-weight: 400; text-decoration: none; font-family: "Arial Narrow"; border-width: 0.5pt 0.5pt 0.5pt medium; border-style: solid solid solid none; border-color: white white white -moz-use-text-color; background: none repeat scroll 0% 0% rgb(184, 204, 228);" width="180" height="17">BankAm (BAC)</td> </tr></table>
To this:
BAC

However, the symbols are not consistently 3 letters. They range between 1-4 letters, typically. The only consistent thing is the parenthesis. I've tried a combination of right and left commands, but can't figure out how to get rid of the parenthesis. Thanks!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi there,

Not very pretty, but try:

=MID(A1,SEARCH("(",A1,1)+1,SEARCH(")",A1,1)-SEARCH("(",A1,1)-1)
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

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