• countif with criteria range (excel 2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » countif with criteria range (excel 2000)

    Author
    Topic
    #442150

    Hi lounge,

    ilooked at previous posts concering the countif could not find what I was looking for right away so here is my question

    How do you make the countif function count values greater than 70 and less and equal to 85 ?

    Countif(Range,Criteria)

    Thanks

    Viewing 0 reply threads
    Author
    Replies
    • #1063660

      =COUNTIF(Range,”<=85")-COUNTIF(Range,"<=70")

      or

      =SUMPRODUCT((Range70))

      • #1063670

        thank you

      • #1120772

        What if I want to use a cell reference in place of the absolute criterion value? Something like:
        =COUNTIF(Range,”<sheet2!A10")
        Another post gave me the hint to add an "=" sign after the quote, thus:
        =COUNTIF(Range,"=<sheet2!A10")
        and that helps in that XL swallows the formula as a valid formula but it doesn't give me the correct count.

        Any clues..?

        Ken

        • #1120773

          Try

          =COUNTIF(Range,"<"&Sheet2!A10)

          Say for example that Sheet2!A10 contains 37, then the condition “<"&Sheet2!A10 is evaluated to "<37".

          • #1120775

            thewave

            and that also allows me to add in a negative sign as well:
            =COUNTIF(Range,”<"&"-"&Sheet2!A10)

            thewave

            Ken

            • #1120777

              Or even

              =COUNTIF(Range,"<-"&Sheet2!A10)

            • #1120778

              Instead of:
              =COUNTIF(Range,”<"&"-"&Sheet2!A10)

              You could use:
              =COUNTIF(Range,"<-"&Sheet2!A10)

              And save some keystrokes…

              Steve

    Viewing 0 reply threads
    Reply To: Reply #1063670 in countif with criteria range (excel 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel