Finding values in a formula

alexransome

Board Regular
Joined
Jun 10, 2011
Messages
192
Hello,

I have the following formula in cell C87,

=RIGHT(eMail!B87,LEN(eMail!B87)-FIND("=",eMail!B87))

it is designed to look in B87 and ignore everything before '=' and the '=', no matter how long all the text before it is (the text before is ... Number of parking spaces required ...) and then give the value left over. There are other formulas which also have what I want from the '=' but the length of them is different, but what is always the same is the =.

Is there a way to have the formula work so that it does not matter where Number of parking spaces required appears in the column, the formula will find the text string in column B and then ignore all that comes before and including the = thereby giving a value of 6.

The text before the = is always the same it's just that sometimes the row in which the text appears in can be different.

Thanks for any help.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
If you mean you want to search col B for that string, how about
=MID(INDEX(eMail!B2:B100,MATCH("Number of parking spaces required*",eMail!B2:B100,0)),36,100)
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,202
Members
448,554
Latest member
Gleisner2

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