S Skip Mar 23, 2011 #1 I would like to count the number of entries that are >3 and are <=7. What function would I use? Thanks for any help.
I would like to count the number of entries that are >3 and are <=7. What function would I use? Thanks for any help.
D Donald Guillett Mar 23, 2011 #2 I would like to count the number of entries that are >3 and are <=7. What function would I use? Thanks for any help. Click to expand... In xl 2007 look in the help index for countIFS. In less than xl 2007 look in the help index for COUNTIF and AND
I would like to count the number of entries that are >3 and are <=7. What function would I use? Thanks for any help. Click to expand... In xl 2007 look in the help index for countIFS. In less than xl 2007 look in the help index for COUNTIF and AND
J joeu2004 Mar 23, 2011 #3 I would like to count the number of entries that are Click to expand... One way: =COUNTIF(A1:A100,"<=7")-COUNTIF(A1:A100,"<=3") More straight-forwardly: =SUMPRODUCT((A1:A100>3)*(A1:A100<=7)) =COUNTIFS(A1:A100,">3",A1:A100,"<=7") The last one is the best. But it is available only in XL2007 and later. In the SUMPRODUCT, multiply (*) acts like AND. We cannot use AND in that context.
I would like to count the number of entries that are Click to expand... One way: =COUNTIF(A1:A100,"<=7")-COUNTIF(A1:A100,"<=3") More straight-forwardly: =SUMPRODUCT((A1:A100>3)*(A1:A100<=7)) =COUNTIFS(A1:A100,">3",A1:A100,"<=7") The last one is the best. But it is available only in XL2007 and later. In the SUMPRODUCT, multiply (*) acts like AND. We cannot use AND in that context.
S Skip Mar 23, 2011 #4 One way: =COUNTIF(A1:A100,"<=7")-COUNTIF(A1:A100,"<=3") More straight-forwardly: =SUMPRODUCT((A1:A100>3)*(A1:A100<=7)) =COUNTIFS(A1:A100,">3",A1:A100,"<=7") The last one is the best. But it is available only in XL2007 and later. In the SUMPRODUCT, multiply (*) acts like AND. We cannot use AND in that context. Click to expand... Thanks, SUBPRODUCT works great. Thanks again
One way: =COUNTIF(A1:A100,"<=7")-COUNTIF(A1:A100,"<=3") More straight-forwardly: =SUMPRODUCT((A1:A100>3)*(A1:A100<=7)) =COUNTIFS(A1:A100,">3",A1:A100,"<=7") The last one is the best. But it is available only in XL2007 and later. In the SUMPRODUCT, multiply (*) acts like AND. We cannot use AND in that context. Click to expand... Thanks, SUBPRODUCT works great. Thanks again