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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

JamesW

Well-known Member
Joined
Oct 30, 2009
Messages
1,197
Hi there,

Not very pretty, but try:

=MID(A1,SEARCH("(",A1,1)+1,SEARCH(")",A1,1)-SEARCH("(",A1,1)-1)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,651
Messages
5,838,584
Members
430,557
Latest member
MK15

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
Top