View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Problem w countif

"ingeman" wrote:
why won't this formula work? =countif(j2:j20,"1",f2:f20<"40")


Guessing that the formula above represents what you want to do ..
Assuming cols J and F actually contain real numbers
with the possibility of some empty cells within col F,
try instead:
=SUMPRODUCT((J2:J20=1)*(F2:F20<40)*(F2:F20<""))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---