+ Reply to Thread
Results 1 to 3 of 3

count them number of cells between values -2 and 2 including 0

  1. #1
    Helppppppppppppppppppppppppppppp
    Guest

    count them number of cells between values -2 and 2 including 0

    I have a list of data I would like to count the number of cells that have the
    following data -2, -1, 0, 1, 2.



  2. #2
    Toppers
    Guest

    RE: count them number of cells between values -2 and 2 including 0

    =SUMPRODUCT(--(A1:A10>=-2),--(A1:A10<=2)) will give total number of cells
    with value between -2 to +2

    For individual counts:

    =COUNTIF(A1:A10,"=-2") etc

    HTH

    "Helppppppppppppppppppppppppppppp" wrote:

    > I have a list of data I would like to count the number of cells that have the
    > following data -2, -1, 0, 1, 2.
    >
    >


  3. #3
    Biff
    Guest

    Re: count them number of cells between values -2 and 2 including 0

    Hi!

    Try one of these:

    =COUNTIF(A1:A10,">=-2")-COUNTIF(A1:A10,">2")

    =SUMPRODUCT(--(ISNUMBER(A1:A10)),--(A1:A10>=-2),--(A1:A10<=2))

    Biff

    "Helppppppppppppppppppppppppppppp"
    <Helppppppppppppppppppppppppppppp@discussions.microsoft.com> wrote in
    message news:F8FAF26F-FFD9-44C5-AB7A-BBD153CF0352@microsoft.com...
    >I have a list of data I would like to count the number of cells that have
    >the
    > following data -2, -1, 0, 1, 2.
    >
    >




+ 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