+ Reply to Thread
Results 1 to 5 of 5

Parse Data from Cell

  1. #1
    Registered User
    Join Date
    03-19-2020
    Location
    xYZ
    MS-Off Ver
    2017
    Posts
    9

    Parse Data from Cell

    Looking for help in extracting data from a cell:

    1234567890: Doe, John (jdoe)

    Specifically, I am looking to extract the text within the brackets. In this example, the result would be jdoe.

    I also included a sample file which includes the raw data and expected results. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Parse Data from Cell

    Try in B2 copied down

    =MID(A2,SEARCH("(",A2)+1,SEARCH(")",A2)-SEARCH("(",A2)-1)
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    03-19-2020
    Location
    xYZ
    MS-Off Ver
    2017
    Posts
    9

    Re: Parse Data from Cell

    That worked. Thank so much for the quick response.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Parse Data from Cell

    Hi rpaonline,

    This method replaces those "(" and ")" with 100 spaces, then Mid() and Trim.
    There are a few other ways but I like this one.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Parse using spaces then Trim.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Parse Data from Cell

    You are very welcome and thank you for the feedback/rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Parse data from a cell within a formula
    By jbrewer2 in forum Excel General
    Replies: 5
    Last Post: 08-20-2019, 01:45 PM
  2. parse data in cell
    By colonmi27 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2016, 09:41 AM
  3. how to parse and select certain data in a cell
    By seraphin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-13-2015, 01:28 PM
  4. Parse cell data into multiple columns
    By maldonadocj in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-05-2014, 08:16 AM
  5. Parse data from one cell to multiple cells
    By Shiraz.dobby in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2014, 12:45 AM
  6. Macro to parse addresses and change text in a cell or cell range
    By mosey16 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-03-2013, 10:15 AM
  7. Parse data from one cell to multiple cells
    By cchoo13 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-11-2009, 01:40 PM

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