+ Reply to Thread
Results 1 to 3 of 3

LEN Function

Hybrid View

  1. #1
    Registered User
    Join Date
    03-15-2013
    Location
    London
    MS-Off Ver
    Excel 2016 (Mac)
    Posts
    69

    LEN Function

    Hello everyone

    I have a long written text copied into Excel.
    By converting the text into a table I found a quick way to have one word per cell.
    Then, I use the LEN function to determine how many letters there are to each word (cell).

    However, very often, the words are immediately followed by punctuation marks (commas, periods, colons, etc.) which the LEN function counts as well.
    If I use the ğreplaceĞ option for the entire text (e.g. replace all commas with space) the LEN function will not consider this.

    Example:
    school, = 7 characters (including the comma)
    Omitting the comma with ğreplaceĞ will still show a result of 7 characters.

    The only other option i see is to manually remove all punctuation marks. Then, the cells display the correct number (e.g. "school" without comma = 6)
    Any suggestions how I can remove the punctuation marks efficiently and make the LEN function reflect the altered cell content?

    Thank you

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: LEN Function

    Don't replace with a space, replace with a null ie nothing
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    03-15-2013
    Location
    London
    MS-Off Ver
    Excel 2016 (Mac)
    Posts
    69

    Re: LEN Function

    Thank you; it works

+ 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