+ Reply to Thread
Results 1 to 3 of 3

Remove punctuation from string

  1. #1
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Remove punctuation from string

    I have a list (coulumn 'C') of surnames names followed by initials, and I am extracting the surnames using the formula =LEFT(C239,FIND(" ",C239)-1). This works fine except that some of the names have a comma after the surname and before the initials. I know I can use a "find and replace" to get rid of the commas, but is there any way I can eliminate them using a foruma, preferably as part of the above formula?

    Thanks for any ideas
    Last edited by BRISBANEBOB; 03-29-2010 at 11:29 PM.

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: Remove punctuation from string

    You can use the Substitute function for this
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Remove punctuation from string

    Beautiful. Once you'rs shown how, oh so easy!

    Thanks and regards

+ 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