+ Reply to Thread
Results 1 to 4 of 4

isolate the first name in this text string

  1. #1
    Forum Contributor
    Join Date
    11-10-2011
    Location
    New York, NY
    MS-Off Ver
    MS Office: Excel 365
    Posts
    163

    isolate the first name in this text string

    Hi,

    I have a hundreds of text strings like the example ones attached.
    How would I isolate the first name (name in middle of sting)?
    Thank you!


    text string example.xlsx

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: isolate the first name in this text string

    Try

    =TRIM(MID(SUBSTITUTE(TRIM(A3)," ",REPT(" ",LEN(A3))),LEN(A3),LEN(A3)))

  3. #3
    Forum Contributor
    Join Date
    11-10-2011
    Location
    New York, NY
    MS-Off Ver
    MS Office: Excel 365
    Posts
    163

    Re: isolate the first name in this text string

    i've never used trim before
    Thank you!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: isolate the first name in this text string

    Great, glad to help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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