+ Reply to Thread
Results 1 to 3 of 3

Count number of a certain character in a cell

  1. #1
    Registered User
    Join Date
    02-26-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    40

    Count number of a certain character in a cell

    Is there a function that will give me the count of a certain character (such as a '.') in a cell?

    For example:
    in cell A1 is - 1001.123.456

    Answer would be 2.
    Last edited by Mick S; 04-09-2011 at 03:12 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Count number of a certain character in a cell

    =len(a1) - len(substitute(a1, ".", ""))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-26-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Count number of a certain character in a cell

    That worked. Thanks.

+ 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