Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   How to take the informations in brackets separate from a huge worksheet? (https://www.askmehelpdesk.com/showthread.php?t=644514)

  • Mar 19, 2012, 04:14 AM
    NS_DINESH
    How to take the informations in brackets separate from a huge worksheet?
    How to take the informations in brackets separate from a huge worksheet?

    Being bank transfer received ( mrdf38/b-5)
    Rent deposited ( hac514 & 515 )
    Being rectification entry passed due inappropriate rent allocation for the year 2011 & 2012 as per (jv 7913).
    Being rent from jv1/71 deposited
    Being rent deposited ( mrb-701 )
  • Mar 20, 2012, 04:51 AM
    JBeaucaire
    If those text strings are in A1, A2, A3, etc.. Put this formula in B1 and copy down:

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

    You will get errors on the rows with no bracketed info.

    To avoid the errors you can use:

    =IF(ISNUMBER(SEARCH("(",A1)), TRIM(MID(A1, FIND("(", A1)+1, FIND(")", A1)-FIND("(",A1)-1)), "")

  • All times are GMT -7. The time now is 02:18 PM.