+ Reply to Thread
Results 1 to 6 of 6

Can you use an excel function to isolate part of a text string?

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    San Francisco
    MS-Off Ver
    Excel 2003
    Posts
    4

    Can you use an excel function to isolate part of a text string?

    Hi everyone

    I'm stuck. I have about 28,000 data points, and two columns. In the first column, the cells contain unique identification numbers; in second column, each cell contains a text string with lots of different information. I've been trying (and failing) to isolate just one part of the text string.

    The problem is that part of the text string I'm trying to isolate is not always in the same place in the text string. Frustratingly, this means the "text to columns" approach will not work.

    Ideally, I would like to isolate the one part of the text string, and then copy it into yet another column. Any ideas?

    Here's an example of what I'm working with:

    10201007B W2 E2 SEC 35 23 23 160AC
    10201007J SWSW SEC 35 23 23 40.00AC

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Can you use an excel function to isolate part of a text string?

    If you could post a sample workbook on that maybe someone could offer a solution. also include the expected outcome. from above you didn't state the "part" to be isolated.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.

    Regards,
    Vladimir
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    09-25-2012
    Location
    San Francisco
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Can you use an excel function to isolate part of a text string?

    I'm trying to isolate the area information, e.g. the "160AC" and the "40.00AC."

  4. #4
    Registered User
    Join Date
    09-25-2012
    Location
    San Francisco
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Can you use an excel function to isolate part of a text string?

    [ATTACH]183155[/ATTAC

    I hope this works
    Attached Files Attached Files

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Can you use an excel function to isolate part of a text string?

    Try...

    =TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),100))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  6. #6
    Registered User
    Join Date
    09-25-2012
    Location
    San Francisco
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Can you use an excel function to isolate part of a text string?

    thank you but that doesn't seem to work

+ 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