Results 1 to 3 of 3

Thread: Simple CountIf

  1. #1
    Bronze Lounger
    Join Date
    Sep 2007
    Posts
    1,203
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm having a syntax nightmare:

    =COUNTIF('History'!$BR$2:$BR$172,50)
    =COUNTIF('History'!$BR$2:$BR$172,49.5)
    =COUNTIF('History'!$BR$2:$BR$172,49)
    =COUNTIF('History'!$BR$2:$BR$172,?) - Want <49 and >=45
    =COUNTIF('History'!$BR$2:$BR$172,?) - Want <45


  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Want <49 and >=45:

    =COUNTIF('History'!$BR$2:$BR$172,"<49")-COUNTIF('History'!$BR$2:$BR$172,"<45")

    or

    =SUMPRODUCT(('History'!$BR$2:$BR$172<49)*('History '!$BR$2:$BR$172>=45))

    Want <45:

    =COUNTIF('History'!$BR$2:$BR$172,"<45")

  3. #3
    Bronze Lounger
    Join Date
    Sep 2007
    Posts
    1,203
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks,

    I should write a book:

    "How to waste valuable moments of your life missing silly little things like """


Posting Permissions

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