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

Data Analysis

  • How to Create Thermometer Chart in Excel
  • Use Data Form to input, edit and delete records in Excel
  • How to create Checklist in Excel
  • How to Create Gantt Chart in Excel
  • How to do a t-Test in Excel?

References

  • Create hyperlink with VLOOKUP in Excel
  • How to get address of named range in Excel
  • How to use Excel FORMULATEXT function
  • How to get last row in numeric data in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table

Data Validations

  • Data validation must not exist in list
  • Excel Data validation specific characters only
  • Prevent invalid data entering in specific cells
  • Excel Data validation don’t exceed total
  • Excel Data validation must contain specific text

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

  • How to use IFS function in Excel
  • SWITCH function example in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • IF function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Next biweekly payday from date in Excel
  • Get work hours between dates and times in Excel
  • Get last weekday in month in Excel
  • How to calculate next scheduled event in Excel
  • How to get Weekdays, Working days between Two Dates in Excel

Grouping

  • Group arbitrary text values in Excel
  • Group numbers at uneven intervals in Excel
  • Map text to numbers in Excel
  • Categorize text with keywords in Excel
  • How to randomly assign data to groups in Excel

General

  • Hide and Unhide Columns or Rows in Excel
  • How to get Excel workbook path only
  • List sheet names with formula in Excel
  • How to generate random date between two dates in Excel
  • Excel Ribbon Quick Overview For Beginners
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning