Countif Criteria

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to specify a range of numbers as the criteria. Example: How many entries in my database fall between 5 and 20
 
Hi
if you want to check column A try
=COUNTIF(A1:A1000,"<20")-COUNTIF(A1:A1000,"<=5")

or
=SUMPRODUCT((A1:A1000>5)*(A1:A1000<20))
 
One way

=COUNTIF(Range,">=5")-(COUNTIF(Range,">20")

--

Regards,

Peo Sjoblom

Wayne K said:
I want to specify a range of numbers as the criteria. Example: How many
entries in my database fall between 5 and 20
 
Back
Top