SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using SharePoint 2007 and I would like to extract data from parenthesis from another column to a calculated field in the same list.

For example: Column named "Team", value "RED (Mark, John, Lisa)". The calculated value should be "Mark, John, Lisa".

I've tried this formula:

=TRIM(LEFT(RIGHT(SUBSTITUTE("("&SUBSTITUTE([TEAM],")","("),"(",REPT(" ",99)),198),99))

But I've read that SUBSTITUTE function is not available in SharePoint.

Also I would like to return a specified string (like "PAY ATTENTION! NO PARENTHESIS!") if there are no parenthesis.

Is that possible? Any suggestions?


share|improve this question

I might be mis-understanding your question but it seems that a simple =MID() function would work. Something like

=MID([TEAM], SEARCH("(",[TEAM],0)), SEARCH(")", [TEAM], 0))

To add your return message, just encase all of it in an IF statement.

Also, if this isn't sufficient, please edit your question to explain.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.