+ Reply to Thread
Results 1 to 3 of 3

dashes before and after letters

  1. #1
    Registered User
    Join Date
    04-16-2010
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    1

    dashes before and after letters

    Is there a simple (Ha haa) way to remove dashes before or after letters in a string of characters? I want to KEEP any dash if it is between a number.
    Example


    ABCD-1-234
    I would want the Dash out after the "D" so the part number would read ABCD1-234


    - part numbers vary in length - from 3 to 35 characters
    - dash is not in the same place.

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    re: dashes before and after letters

    can U show more examples??
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: dashes before and after letters

    Are the strings always the same format?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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