try this where a1 has your date formatted the same
=sumproduct((ai2:ai22=1234)*(am2:am22=a1)*(aj2:aj22=-1))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Charlie510" <(E-Mail Removed)> wrote in message
news:2D7A8680-D7B9-424F-89CB-(E-Mail Removed)...
> I'm trying to count the number of cells that meet criteria in multiple
> columns:
>
> Column AI contains a job number
> Column AJ contains "blank", "0", or "-1"
> Column AM contains the mm/dd/yyyy the job was finished
>
> I need a COUNT of the cells in AJ that = "-1" and for which the job was
> finished in a certain month