how can i count a number that meets a criteria?

O

oakm

hi.
I have a column of numbers in a sheet.
how can I count the numbers between 5 & 10 (for example) in
the column?
thanks.
 
G

Gord Dibben

oak

=COUNTIF(A1:A10,">5")-COUNTIF(A1:A10,">9")

You sure you mean "between" 5 and 10 which would be 6,7,8 or 9?


Gord Dibben Excel MVP
 
R

Rajesh HR, BAngalore

Insert a Column
give a formula - if (And(a1>4,a1<11)," To Count","Not Count", You will
get a result as To count or Not Count. Then Count all To Counts
 
Top