A bit of playing around has given me another 2 ways (albeit both much the same) to achieve the same result without using nested IFs.
The original formula was
=COUNT(IF(YEAR(Dates)=YEAR(J$39),IF(MONTH(Dates)=MONTH(J$39),IF(DegreesF>$AH42,IF(DegreesF<$AH43,1)))))
the first alternative is
=SUMPRODUCT((YEAR(Dates)=YEAR(J$39))*(MONTH(Dates)=MONTH(J$39))*(DegreesF>$AH42)*(DegreesF<$AH43))
and a slight variation, entered as an array formula, is
=SUM((YEAR(Dates)=YEAR(J$39))*(MONTH(Dates)=MONTH(J$39))*(DegreesF>$AH42)*(DegreesF<$AH43))
Tony
We have more and more laws, and less and less enforcement