Extracting Specific string from a cell content

AsgiE

New Member
Joined
May 26, 2005
Messages
44
I need help in getting a formula that will be able to extract a specific word from a string within a cell ie:
I want to extract "Recoverable" from a string in a cell and the word Recoverable can be at any location within that cell. I cannot use Mid as I dont know the starting point.
I could use the letter R as the search point for Match to compute the starting point for the Mid formula but need help in putting it together.

Appreciate the help.

Thanks
Asgi
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
This formula should do what you need:
=MID(A1,SEARCH("recoverable",A1),11)

Hope that helps,


...and what Robert said :)
 
Upvote 0
Or =IF(FIND("recoverable",A1),"recoverable","")
 
Upvote 0
Or =IF(FIND("recoverable",A1),"recoverable","")

You will want to control the error generated when the FIND function cannot find the text. Also, maybe use SEARCH in place of FIND to make it case insensitive?
 
Upvote 0

Forum statistics

Threads
1,214,870
Messages
6,122,021
Members
449,060
Latest member
LinusJE

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