+ Reply to Thread
Results 1 to 5 of 5

Delete all characters of a certain length

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    ann arbor
    MS-Off Ver
    Excel 2010
    Posts
    67

    Delete all characters of a certain length

    Is there a formula that would allow me to delete all the text in a cell that are under two characters. So not delete the whole cell but just the criteria of two characters or less?

    Example
    J Brown
    Ricky t
    Dr. Mike
    Willow R

    would become:
    Brown
    Ricky
    Mike
    Willow

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Delete all characters of a certain length

    try the macro
    Attached Files Attached Files

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Delete all characters of a certain length

    How does Excel knows which one to remove?

    example:

    Dr. Ho
    Mr Tim
    Mrs Bo
    Ty J
    Last edited by Teethless mama; 01-09-2013 at 11:28 PM.

  4. #4
    Registered User
    Join Date
    11-13-2012
    Location
    ann arbor
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: Delete all characters of a certain length

    for me as long as it only removes strings of text that are 2 characters or less I am good.

  5. #5
    Registered User
    Join Date
    11-13-2012
    Location
    ann arbor
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: Delete all characters of a certain length

    Shoot ok maybe I need to know too because the macro actually deletes text string 3 in length and below.

+ 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