Forum Discussion

ajaydeshmukh's avatar
ajaydeshmukh
Copper Contributor
Jul 13, 2022
Solved

SUM plus countifs

Hello,   I hope everyone is doing fine.   I have used SUM + COUNTIFS together with range. I have got the result but I want to add yes/no or true/false in front of every row to to represent data o...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Jul 13, 2022

    ajaydeshmukh 

    Your formula counts all numbers <=13, being 4

    plus

    the count of all numbers >= 17, being 5.

    Thus, 9

    Putting the criteria in curly brackets forces an OR rather than the AND type of function you need. Count all number >= 13 AND <= 17.

     

    Try it this way:

    =COUNTIFS(A1:A12,">=13",A1:A12,"<=17") resulting in 7.

Resources