View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default countif using multiple criteria

Hi!

Try this:

A1 = 1/1/2006
B1 = 1/31/2006
C1 = new

=SUMPRODUCT(--(J20:J100=A1),--(J20:J100<=B1),--(G20:G100=C1))

Biff

"Wayne E" <Wayne wrote in message
...
I am trying to calculate how many times an event happens with multiple
criteria. As i understand it COUNTIF will not work. But SUMPRODUCT is the
way
to go. I have tried this but am unable to get to work.

I am trying to find out how many time "new" occurs in a given month say
from
1st Jan to 31st Jan so my formula read
=sumproduct((J20:J100=01/01/06),(j20:j100<=31/01/06),(g20:G100="new")
What am I doing wrong?