+ Reply to Thread
Results 1 to 7 of 7

How to isolate for a portion of text

  1. #1
    Registered User
    Join Date
    04-09-2016
    Location
    New York, New York
    MS-Off Ver
    2013
    Posts
    12

    How to isolate for a portion of text

    Hello Fellow Excel Users,

    I'm looking at creating a dynamic data-base and I have a ton of raw data.

    I am having an little bit of an issue as I want to isolate for a portion of texts from A1:A436

    For example:

    Matt Smith (SR)
    Derek Jost (SR/MR)

    I'm familiar with the "RIGHT" function, however, I'm not too sure if there's a way to strictly isolate for texts within a bracket.

    I would like "SR" to appear in a position column for Matt Smith
    I would like "SR/MR" to appear in a position column for Derek Jost

    I would appreciate any help as I would prefer not to do this process manually.

    Thanks,

    Clammy81

  2. #2
    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: How to isolate for a portion of text

    Hi,

    One way

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to isolate for a portion of text

    Here's another one...

    Data Range
    A
    B
    1
    Matt Smith (SR)
    SR
    2
    Derek Jost (SR/MR)
    SR/MR


    This formula entered in B1 and copied down:

    =SUBSTITUTE(MID(A1,FIND("(",A1)+1,20),")","")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    04-09-2016
    Location
    New York, New York
    MS-Off Ver
    2013
    Posts
    12

    Re: How to isolate for a portion of text

    Thank you so much to both of you!

    One more thing would it be possible to break first name and last name up into separate columns?

    I can do the first name no problem.

    The last time I'm having issue due to the bracket positions

    Smith (SR) arghh I don't want the bracket in this instance just "Smith"
    Last edited by clammy81; 04-17-2016 at 05:44 PM.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to isolate for a portion of text

    Here's the whole thing...

    Data Range
    A
    B
    C
    D
    1
    Matt Smith (SR)
    Matt
    Smith
    SR
    2
    Derek Jost (SR/MR)
    Derek
    Jost
    SR/MR
    3
    Ed Van Halen (LG)
    Ed
    Van Halen
    LG


    First name:

    =LEFT(A1,FIND(" ",A1)-1)

    Last name:

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

    Position:

    =SUBSTITUTE(MID(A1,FIND("(",A1)+1,20),")","")

    Assumes no 2 word first names!

  6. #6
    Registered User
    Join Date
    04-09-2016
    Location
    New York, New York
    MS-Off Ver
    2013
    Posts
    12

    Re: How to isolate for a portion of text

    Solved! thanks

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to isolate for a portion of text

    You're welcome. Thanks for the feedback!

+ 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. Replies: 15
    Last Post: 11-28-2014, 07:10 AM
  2. isolate the first name in this text string
    By xtinct2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2013, 09:52 AM
  3. [SOLVED] Need a formula to isolate a number from a text string
    By chicolocal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 01:19 PM
  4. Can you use an excel function to isolate part of a text string?
    By CharCat in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-27-2012, 02:05 AM
  5. Replies: 2
    Last Post: 12-06-2008, 02:41 AM
  6. how do I isolate text?
    By ali_mac in forum Excel General
    Replies: 5
    Last Post: 10-27-2008, 12:52 PM
  7. [SOLVED] isolate number from string of text
    By Stephen R in forum Excel General
    Replies: 7
    Last Post: 08-04-2005, 04:05 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