+ Reply to Thread
Results 1 to 8 of 8

Extracting numerical data from brackets

Hybrid View

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    16

    Extracting numerical data from brackets

    I can't believe what wonderful experts are out there

    Help Test Page-2.xls

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Extracting numerical data from brackets

    Formula: copy to clipboard
    =if(iserr(value(mid(a3,find("(",a3)+1,(find(")",a3)-find("(",a3))-1))),"",value(mid(a3,find("(",a3)+1,(find(")",a3)-find("(",a3))-1)))
    Last edited by :) Sixthsense :); 11-10-2012 at 03:31 AM. Reason: Formula Tag Applied


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Extracting numerical data from brackets

    How does this work with different number of open btackets to closed brackets

  4. #4
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Extracting numerical data from brackets

    =--trim(substitute(mid(left(a3;len(a3)-1);find("(";a3)+1;len(a3));")";""))

  5. #5
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Extracting numerical data from brackets

    try it my be this formula is better than before.

    =--MID(A3;FIND("(";A3)+1;(FIND(")";A3)-FIND("(";A3)-1))

    see attachment to compare with another condition.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-02-2012
    Location
    Baku
    MS-Off Ver
    Excel 2010
    Posts
    273

    Re: Extracting numerical data from brackets

    =value(mid(a3,find("(",a3,1)+1,find(")",a3,1)-find("(",a3,1)-1))

  7. #7
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Extracting numerical data from brackets

    =trim(mid(substitute(substitute(a3,"(",rept(" ",99)),")",rept(" ",99)),99,99))+0

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Extracting numerical data from brackets

    Perhaps
    =IF(ISERROR(FIND(")",A1)),"",IF(ISERROR(FIND("(",A1)),"",LEFT(RIGHT(A1,LEN(A1)-FIND("(",A1)),FIND(")",RIGHT(A1,LEN(A1)-FIND("(",A1)))-1)))

+ 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