+ Reply to Thread
Results 1 to 7 of 7

count number of letters in a string

  1. #1
    Peo Sjoblom
    Guest

    count number of letters in a string

    =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

    with the string in A1

    --

    Regards,

    Peo Sjoblom

    http://nwexcelsolutions.com


    "Wiley" <[email protected]> wrote in message
    news:[email protected]...
    > How do I count the number of letters in a string? For example, the number
    > "W" in this string "WWWEEERRRWWDDR" is 5.




  2. #2
    Ron Coderre
    Guest

    RE: count number of letters in a string

    Try this:

    With A1 containing WWWEEERRRWWDDR

    B1: =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

    Does that help?
    ***********
    Regards,
    Ron

    XL2002, WinXP


    "Wiley" wrote:

    > How do I count the number of letters in a string? For example, the number
    > "W" in this string "WWWEEERRRWWDDR" is 5.


  3. #3
    Bob Phillips
    Guest

    Re: count number of letters in a string

    =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

    --
    HTH

    Bob Phillips

    (remove xxx from email address if mailing direct)

    "Wiley" <[email protected]> wrote in message
    news:[email protected]...
    > How do I count the number of letters in a string? For example, the number
    > "W" in this string "WWWEEERRRWWDDR" is 5.




  4. #4
    Wiley
    Guest

    count number of letters in a string

    How do I count the number of letters in a string? For example, the number
    "W" in this string "WWWEEERRRWWDDR" is 5.

  5. #5
    Peo Sjoblom
    Guest

    Re: count number of letters in a string

    =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

    with the string in A1

    --

    Regards,

    Peo Sjoblom

    http://nwexcelsolutions.com


    "Wiley" <[email protected]> wrote in message
    news:[email protected]...
    > How do I count the number of letters in a string? For example, the number
    > "W" in this string "WWWEEERRRWWDDR" is 5.




  6. #6
    Ron Coderre
    Guest

    RE: count number of letters in a string

    Try this:

    With A1 containing WWWEEERRRWWDDR

    B1: =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

    Does that help?
    ***********
    Regards,
    Ron

    XL2002, WinXP


    "Wiley" wrote:

    > How do I count the number of letters in a string? For example, the number
    > "W" in this string "WWWEEERRRWWDDR" is 5.


  7. #7
    Bob Phillips
    Guest

    Re: count number of letters in a string

    =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

    --
    HTH

    Bob Phillips

    (remove xxx from email address if mailing direct)

    "Wiley" <[email protected]> wrote in message
    news:[email protected]...
    > How do I count the number of letters in a string? For example, the number
    > "W" in this string "WWWEEERRRWWDDR" is 5.




+ 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