Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Create Frequency Distribution in Excel
  • How To Filter Data in Excel
  • Number and Text Filters Examples in Excel
  • How to add Trendline to a chart in Excel
  • Managing Conditional Formatting Rules in Excel

References

  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • To count total rows in a range in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • Find closest match in Excel
  • How to get last row in numeric data in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation date in specific year
  • Excel Data validation allow weekday only
  • Excel Data validation exists in list
  • Excel Data validation unique values only

How to extract text between parentheses in Excel

by

To extract text between parentheses, braces, brackets, etc. you can use a formula based on the MID function, with help from SEARCH function.

Formula

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

Explanation

In the example shown, the formula in C5 is:

=MID(B5,SEARCH("(",B5)+1,SEARCH
(")",B5)-SEARCH("(",B5)-1)+0

How this formula works

The foundation of this formula is the MID function, which extracts a specific number of characters from text, starting at a specific location. To figure out where to start extracting text, we use this expression:

SEARCH("(",B5)+1

This locates the left parentheses and adds 1 to get the position of the first character inside the parentheses. To figure out how many characters to extract, we use this expression:

SEARCH(")",B5)-SEARCH("(",B5)-1

This locates the second parentheses in the text, and subtracts the position of the first parentheses (less one) to get the total number of characters that need to be extracted. With this information, MID extracts just the text inside the parentheses.

Finally, because we want a number as the final result in this particular example, we add zero to text value returned by MID:

+0

This math operation causes Excel to coerce text values to numbers. If you don’t need or want a number at the end, this step is not required.

Post navigation

Next Post:

Create One-dimensional and Two-dimensional Array

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel XOR Function
  • IF with wildcards in Excel
  • How to use Excel NOT Function

Date Time

  • Basic timesheet formula with breaks in Excel
  • Convert text timestamp into time in Excel
  • Convert Excel time to decimal minutes
  • Add decimal minutes to time in Excel
  • Get fiscal year from date in Excel

Grouping

  • Group numbers at uneven intervals in Excel
  • Categorize text with keywords in Excel
  • Group arbitrary text values in Excel
  • If cell contains one of many things in Excel
  • Calculate conditional mode with criteria in Excel

General

  • How to Create Calendar in Excel
  • How to Delete Cells, Row and Rows in Excel
  • Subtotal by color in Excel
  • Currency vs Accounting Format in Excel
  • Check if multiple cells have same value with case sensitive in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning