Extract text before/after a certain symbol?

excelnoob18

New Member
Joined
Jan 30, 2018
Messages
1
I tried several formulas I found online but they won't work. I have a huge list of strings like this:

ABB_SEARCHOPTION_LBLHEAD=Search now
ABB_SEARCHOPTION_CHK_SAMEFILE=Same search option

<tbody>
</tbody>

Is there a formula to extract the text before (or after) the = symbol?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Welcome to the forum.

Assuming your search string has only one "=" character, this will extract the text before and after the "=" character. Performing a Text-to-Columns operation would work also. Copy B2 and C2 down as necessary.

ABC
2BB_SEARCHOPTION_LBLHEAD=Search nowBB_SEARCHOPTION_LBLHEADSearch now
3ABB_SEARCHOPTION_CHK_SAMEFILE=Same search optionABB_SEARCHOPTION_CHK_SAMEFILESame search option

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet9

Worksheet Formulas
CellFormula
B2=MID(A2,1, FIND("=",A2)-1)
C2=MID(A2,FIND("=",A2)+1,1000)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,187
Messages
6,123,540
Members
449,107
Latest member
caya

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