Hi, Kellis!
I tried Sajan's formula in your uploaded workbook and it retrieves a 3 in B9 cell of worksheet Summary. Could you please re-check it?
A few comments about the workbook.
1) I see that you have formulas with fixed ranges up to row 2000 or 20000, which will add an unnecessary overload if there're not fully used. A workaround is to use named ranges, and even better dynamic named ranges, so as to make your model flexible without having to change any formulas, no matter the no. of rows that you might have.
Only for the formula posted you could define 3 dynamic named ranges, JobList, DateList and CancelledList. Definition is as follows for jobs, just change the column references:
JobList: =DESREF('April 13 '!$B$2;;;CONTARA('April 13 '!$B:$B)-1;1) -----> in english: =OFFSET('April 13 '!$B$2,,,COUNTA('April 13 '!$B:$B)-1,1)
Then Sajan's formula will be:
=SUMPRODUCT((DateList=$A9)*(JobList=B$8)*(CancelledList="No"))
no needing to qualify B$8 since it's in the same worksheet.
2) Column cells with non consistent data. Column A data ranges thru row 30 but has formulas from rows 145 to 274, and the formulas aren't equal. Column B idem but up to row 161, and have values and not formulas at rows 17-2, 22, 26-29. And I stopped checking.
3) In worksheet Sheet3 you have a range from I6:J17 where you have months' name and numbers from 1 to 12. I didn't find where you're using it, but if it's in column A of worksheet Summary you could do this:
A9: =NOMPROPIO(TEXTO(FECHA(AÑO(HOY());FILA()-5;1);"mmmm")) -----> in english: =PROPER(TEXT(DATE(YEAR(TODAY()),ROW()-5,1),"mmmm"))
(You can omit the PROPER function if your regional configuration settings retrieve months as April and not april, as in my case -Spanish version-)
4) Worksheet Summary, range B9:K20. Despite of Sajan's formula or my variation with names, your formulas were like this:
=IF(SUMAPRODUCT(('April 13 '!$H$2:$H$2000=A9)*('April 13 '!$B$2:$B$2000=Summary!$C$8))=0,"0",SUMAPRODUCT(('April 13 '!$H$2:$H$2000=A9)*('April 13 '!$B$2:$B$2000=Summary!$C$8)))
where if SUMPRODUCT returned a zero (numeric) you placed a zero (string), so better avoid the IF and the string assignation and let this used function return its natural value.
5) Worksheet "April 13", A2 cell. You have this formula:
=IF(ISNA(VLOOKUP(E:E,Sheet3!$A$1:$B$34,2,FALSE)),"", VLOOKUP(E:E,Sheet3!$A$1:$B$34,2,FALSE))
which'd be shortened for Excel versions 2007+ as:
=IFERROR(VLOOKUP(E:E,Sheet3!$A$1:$B$34,2,FALSE)," ")
but I assume you're using 2003 version as per the uploaded file. So just fyi.
Hope it helps and just advise if any doubt, or if you'd require a sample file with this modifications.
Regards!