still not working correctly. I have 12 cells that have data, of the 12 cells
2 have the data range between 10 - 20 so I'm looking for the formula to give
me a count of 2 but the formulas below give me a count of 10 which makes
sense since it's subtracting.
Please help!
"JE McGimpsey" wrote:
One way:
=COUNTIF(rng,"=10")-COUNTIF(rng, "20")
Another:
=COUNTIF(rng,"<=20") - COUNTIF(rng, "<10")
Another:
=SUMPRODUCT(--(rng=10),--(rng<=20))
see http://www.mcgimpsey.com/excel/doubleneg.html for an explanation of
"--"
In article ,
"bsantona" wrote:
I'm trying to get a count of cells that have a range of data for instance I
want a count of cells that have data between 10 - 20.
Any ideas would be appreciated.