Moving specific Text from a cell

David Rod

New Member
Joined
Aug 11, 2014
Messages
6
Hello! I am trying to move two specefic words from a string of text from one cell to another. each cell will have either word, within a string of text, but will not contain both words. I started with this formula: Example:
PRT REL TECO
CLSD REL

<tbody>
</tbody><colgroup><col></colgroup>

<tbody>
</tbody><colgroup><col></colgroup>


=RIGHT(E2,LEN(E2)-FIND("TECO",E2,1)+1)

I was able to get "TECO" in the cell, but i know want to add the word "CLSD" to the formula so it looks for both. If the cell contains TECO OR CLSD, add to the other cell.

I tried to add the "OR" formula but that logic didnt seem to work. Anyother ideas??

Thanks!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

NeonRedSharpie

Well-known Member
Joined
Jul 14, 2014
Messages
1,678
Code:
=IFERROR(IF(FIND("TECO",A3),"TECO","Not Found"),IFERROR(IF(FIND("CLSD",A3),"CLSD","Not Found"),"Not Found"))

This is probably a little redundant, but it should work.
 
Upvote 0

Forum statistics

Threads
1,191,194
Messages
5,985,220
Members
439,948
Latest member
Xearo96

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