Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Conditional Counting

  1. #1
    New Member
    Join Date
    Apr 2002
    Location
    Frankfurt
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have been trying to work this problem out all day, and I am sure it must be something simple that I am missing.

    I want to count the number of times a cell's value is over an average. This works :

    =Countif('Stock Data'!F5:F24;">0,96")

    but if I change it to use the cell variable, eg:

    =Countif('Stock Data'!F5:F24;">E17)

    It doesn't. If any one can help I will be really grateful !

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Georgia USA
    Posts
    569
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try =COUNTIF('stock Data'!F5:F24,">"&E17)

  3. #3
    New Member
    Join Date
    Apr 2002
    Location
    Frankfurt
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks Paul B, it worked !

  4. #4
    Board Regular
    Join Date
    Mar 2002
    Location
    Brampton
    Posts
    328
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Sometimes the SUMIF form for COUNTIF works handy as an array formula. In your case:

    {=SUM(IF('stock Data'!F5:F24>E17,1,0))}

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •