Using COUNTIFS for counting multiple criteria

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MusoFreak200
    New Member
    • Oct 2009
    • 96

    Using COUNTIFS for counting multiple criteria

    G'day, thanks for reading.
    ok here is my problem. I have a timetable in excel which I am counting the hours for cells in the right hand side under categories. I am attempting to combine different types into single counts.

    I have been having trouble and have thought about using the following statement however it is not working

    Code:
    =COUNTIFS(B3:H22,"*Quiz*",B3:H22,"*Test*",B3:H22,"*Assessment*")
    Where am I going wrong?
    Attached Files
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    In what way is it not working?

    Comment

    • MMcCarthy
      Recognized Expert MVP
      • Aug 2006
      • 14387

      #3
      The COUNTIFS function does not work this way. It allows you to select multiple criteria. So your formula would only give a results if all 3 were true. I would recommend instead using multiple COUNTIF functions as follows:

      Code:
      =COUNTIF(B3:H22,"*Quiz*")+COUNTIF(B3:H22,"*Test*")+COUNTIF(B3:H22,"*Assessment*")
      That should give you the result you want.

      Comment

      • MusoFreak200
        New Member
        • Oct 2009
        • 96

        #4
        Thank you mate I knew I was poking too closely at it.
        However is there a way to get it to count regardless of the text case

        Comment

        • MMcCarthy
          Recognized Expert MVP
          • Aug 2006
          • 14387

          #5
          I'll have to think about that one, leave it with me.

          Comment

          • MMcCarthy
            Recognized Expert MVP
            • Aug 2006
            • 14387

            #6
            I just double checked it and COUNTIF is not case sensitive so it should find the text regardless of case.

            Comment

            • MusoFreak200
              New Member
              • Oct 2009
              • 96

              #7
              That's odd Oh well thank you for your help

              Comment

              Working...