Left, Right or Mid

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
You don't need to know. Just choose some value longer than it will ever be. You can just use the Length of L6, i.e.
Code:
[COLOR=#000000][FONT=Arial]=MID(L6,SEARCH[/FONT][/COLOR][COLOR=#000000][FONT=Arial]("Check\",L6)[/FONT][/COLOR][COLOR=#000000][FONT=Arial]+6,LEN(L6))[/FONT][/COLOR]
 
Upvote 0
Try

=MID(L6,SEARCH("Check",L6)+6,100)


i.e.
It won't error if that number is too large. It will just go to the end of the string.

to be even more robust, you can just use LEN(L6)
=MID(L6,SEARCH("Check",L6)+6,LEN(L6))
 
Upvote 0
Change 11 to LEN(L6) in the formula in N6.

=MID(L6,SEARCH("Check",L6)+6,LEN(L6))
 
Upvote 0
Here is another way where you do not have to specify the length of characters following it...
Code:
=REPLACE(A1,1,SEARCH("\check\",A1)+6,"")

Edit Note: Interesting... I had to put the formula in code tags because this forum's comment display box kept removing the backslash when followed by a quote mark.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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