As an alternative, if you could use
=SUMPRODUCT(--(WEEKNUM(Sheet1!$A$2:$A$100)=WEEKNUM(A2)),Sheet1!$ D$2:$D$100)
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Dominique Feteau" wrote in message
...
I have a sheet that has nothing but data. Columns a Date, Employee,
Form,
Number
On another sheet, i want to add the total of "numbers" per "form" per week
from the "date"
now the date on the first sheet is daily. on the second sheet its "week
ending".
how do i set up the formula to add up only those for a certain week?
|