View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default Counting # of cells

=COUNTIF(A1:A100, "=120") - COUNTIF(A1:A100, "<=129")
or
=SUMPRODUCT(--(A1:A100=120),--(A1:A100<=129))
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Ronnie" wrote in message
...
I need a formula to count the number of cells in a column that contain the
numbers between 120 and 129. Thanks for any input!
--
Ronnie