+ Reply to Thread
Results 1 to 4 of 4

Count periods in a cell

  1. #1
    Carim
    Guest

    Count periods in a cell

    Hi,

    I cannot get Countif to return the number of periods in cell A1
    (formatted as text) : "1.1.1.1"

    Thanks for your help

    Cheers
    Carim


  2. #2
    Bob Phillips
    Guest

    Re: Count periods in a cell

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

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "Carim" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > I cannot get Countif to return the number of periods in cell A1
    > (formatted as text) : "1.1.1.1"
    >
    > Thanks for your help
    >
    > Cheers
    > Carim
    >




  3. #3
    Carim
    Guest

    Re: Count periods in a cell


    As usual ... thanks to Tom O ...

    found the answer :

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


  4. #4
    Carim
    Guest

    Re: Count periods in a cell

    Hi Bob,

    Thanks a lot ... our messages crossed ...

    Regards

    Carim


+ 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