try
=sumproduct((d7:d43=b49)*(u7:u43<2))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Keyco" <(E-Mail Removed)> wrote in message
news:CAD5DB78-11D5-4A6C-94E6-(E-Mail Removed)...
>I am trying to use the countif function and need to count a person if they
> are in a certain state and started before a certain month. I have the
> right
> range and criteria for each of the two conditions but don't know how to
> use
> them together. I tried =COUNTIF($D$7:$D$43,$B49,$U$7:$U$43,"<2"), but
> this
> is not a valid formula. Any thoughts?