+ Reply to Thread
Results 1 to 5 of 5

Extracting data from between brackets in a cell

  1. #1
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Extracting data from between brackets in a cell

    Hi,

    I have a list of invoices with a "notes" column.

    The notes field may contain random notes but with bracketed numbers contained somewhere, e.g.

    Cell A1 =
    "abcde (1234) asdf2274"

    Can I write a formula in B1 which will extract only the 1234 between the brackets?

    Thanks

    Matt

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Extracting data from between brackets in a cell

    Try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This will be a text representation of the number, so if you want a proper numeric value you should multiply the formula by 1:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps.

    Pete

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

    Re: Extracting data from between brackets in a cell

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: Extracting data from between brackets in a cell

    Thanks both - both work perfectly

    Really helpful

    Ta

  5. #5
    Registered User
    Join Date
    07-31-2014
    Location
    Reston, VA
    MS-Off Ver
    2010
    Posts
    1

    Re: Extracting data from between brackets in a cell

    Zbor's solution worked perfectly for my needs. Thanks!

+ 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