Hi,
Sorry the date criteria were missing from the formula in post #19.
The general layout of SUMIFS() functions are
SUMIFS(RangeToSum,1stCriteriaRange,1stCriteria,2ndCriteriaRange,2ndCriteria......nthCriteriaRange,nthCriteria
Hence you'll need two new pairs of criteria, one each for the start and end dates of the week in each of the SUMIFS
Formula:
=IFERROR(SUMIFS(Sheet2!$Q$6:$Q$12,Sheet2!$F$6:$F$12,F$8,Sheet2!$D$6:$D$1000,">="&$D9,Sheet2!$D$6:$D$1000,"<="&$D15)/SUMIFS(Sheet2!$M$6:$M$12,Sheet2!$F$6:$F$12,F$8,Sheet2!$D$6:$D$1000,">="&$D9,Sheet2!$D$6:$D$1000,"<="&$D15)
Bookmarks