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.