Extract text from parentheses in Excel
08:59 20 Mar 2022

I have an Excel list where I need text that exists within parenthesis. e.g.

From Gene name Column I need
O70257 syntaxin 7(Stx7) Stx7
Q7TQ90 alcohol dehydrogenase 5 (class III), chi polypeptide(Adh5) Adh5

I tried the following function, as suggested in a previous answer here:

=MID(text,SEARCH("(",text)+1,SEARCH(")",text)-SEARCH("(",text)-1)

It works for the first row, but for the second it only returns the first parenthesis content (class III). Is there a way to only take the text contained in the parentheses at the end?

excel excel-formula