how to extract text between parentheses

Hi Smarthseet community,

Can you help to figure out how to extract text between two parentheses?

For example, ABCD(12345), I would like to extract 12345 in a different cell.

Here is my formula: =MID(Item@row, FIND("(", Item@row + 1, FIND(")", Item@row) - FIND("(", Item@row) - 1)))

It gave me "UNPARSEABLE" error message.

Any suggestions are well appreciated!!

Best Answer

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭
    Answer ✓

    Try:

    =MID(Item@row, FIND("(", Item@row)+ 1, FIND(")", Item@row) - (FIND("(", Item@row) - 1))

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!