+ Reply to Thread
Results 1 to 4 of 4

Edit text string using delimiter?

  1. #1
    Registered User
    Join Date
    03-14-2009
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Edit text string using delimiter?

    Hi all,

    I have tried experimenting with LEFT, RIGHT functions. I want to edit a text string using a delimiter. For example: "NOS|NOS". I have a column of 256 rows of such entries, a name; the pipe; a name. I need to be able to strip out one side or the other using that pipe as the delimiter, leaving only "NOS". With 256 rows of items with this format - the length of the text string will vary.

    I would appreciate any help.
    Chris (508)

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Edit text string using delimiter?

    With a column cells containing two text values separated by pipes ( | )
    Example:
    A1: Alpha|Bravo
    A2: Charlie|Delta
    etc

    Try this...
    Select the single-column range of text cells
    From the Excel Main Menu: Data•Text_to_Columns
    Check: Delimited.......Click: Next
    Check: Other...Type: | ......click Next
    Select whichever side of the list you want to ignore
    Check: Do not import column (skip)

    To write over the current values....Click: Finish
    otherwise....Select a Destination cell...then click: Finish

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    03-14-2009
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Edit text string using delimiter?

    Ron,

    Yes, that did the trick. I never would have found that on my own.
    Thank you very much.
    Chris (508)

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: Edit text string using delimiter?

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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