I think you mistyped on your COUNTIF
I believe it should be:
=COUNTIF(A1:A100, "=120") - COUNTIF(A1:A100, "129")
--
** John C **
"Bernard Liengme" wrote:
=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