+ Reply to Thread
Results 1 to 3 of 3

How can I count the number of times a letter repeats in a string?

  1. #1
    Wiley
    Guest

    How can I count the number of times a letter repeats in a string?



  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    Wiley,

    If your string is in A1 and you are trying to count the occurences of the letter "a" then:

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

    HTH

    Steve

  3. #3
    Bob Phillips
    Guest

    Re: How can I count the number of times a letter repeats in a string?

    See other post.

    --
    HTH

    Bob Phillips

    (remove xxx from email address if mailing direct)

    "Wiley" <[email protected]> wrote in message
    news:[email protected]...
    >




+ 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