• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extract Text from String where text starts and finishes with brackets

Paul Whitaker

New Member
Is there a simple formula that can extract text from a string, when the text required starts with an Opening Bracket "(" and finishes with a closing bracket ")". The text can be of different length and the output needs be be excluding the brackets.


Thank you


Paul
 
Probably not the best.... but seems to work


=MID(A1,FIND("(",A1,1)+1,SUM(FIND(")",A1,1),-FIND("(",A1,1),-1))
 
Simplifying Jason's formula a little:

=MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)
 
Back
Top