+ Reply to Thread
Results 1 to 6 of 6

bracket text

  1. #1
    Registered User
    Join Date
    03-22-2009
    Location
    Gujarat,India
    MS-Off Ver
    Excel 2003
    Posts
    7

    Thumbs down bracket text

    In A1 cell a entry like this
    KA SUTHAR (Ind)
    i want to extract the bracket text in B1

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: bracket text

    Maybe like this

    =MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: bracket text

    Here, try this:

    =MID(A1,FIND("(",A1,1)+1,LEN(A1)-FIND("(",A1,1)-1)

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: bracket text

    Hi,

    One way:

    Please Login or Register  to view this content.
    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: bracket text

    zbor, that only works if the text in brackets is at the end of the string. Richard's and my version work for the brackets anywhere inside the string. Try it out on

    KA SUTHAR (Ind) and some text

    OPs hardly ever tell you the full story first time round....


  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: bracket text

    Yes, I've noticed as soon as I posted. But why to change it

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1