Hi all,
First post on here so aplogies if I am repeating any other threads.
Basically I need to produce a formula based on 4 criteria, i have searched around and SUMPRODUCT seems to be the best approach.
I have 3 columns of data:
Location
Date Trained
% score
The information I need to produce is to show an average of scorings for each week for each location.
Example:
Between 1/8/11 (inc 1/8/11) and 7/8/11 (Inc 7/8/11) I need to show an average of scores obtained for each location so the formula would need to firstly check location, check date is >= 1/8/11 and <=8/8/11, add up the % scores and average them to give me a % average for that week.
I used the following formula to total the occurences for Ruislip branch for week one:
=SUMPRODUCT(('AAH Tracking Sheet'!$I$3:$I$65000>=DATE(2011,8,1))*('AAH Tracking Sheet'!$I$3:$I$65000<=DATE(2011,8,7)*('AAH Tracking Sheet'!$A$3:$A$65000="ruislip")))
However i really need a formula to then workout the average of these occurences and return this value as the result but when i try and add an extra argument on to calculate scorings and average for that week i get:
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64 x:str><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 12.75pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl64 height=17 width=64 x:err="#VALUE!">#VALUE!</TD></TR></TBODY></TABLE>
Hope this makes sense.
Please help!
Andy
First post on here so aplogies if I am repeating any other threads.
Basically I need to produce a formula based on 4 criteria, i have searched around and SUMPRODUCT seems to be the best approach.
I have 3 columns of data:
Location
Date Trained
% score
The information I need to produce is to show an average of scorings for each week for each location.
Example:
Between 1/8/11 (inc 1/8/11) and 7/8/11 (Inc 7/8/11) I need to show an average of scores obtained for each location so the formula would need to firstly check location, check date is >= 1/8/11 and <=8/8/11, add up the % scores and average them to give me a % average for that week.
I used the following formula to total the occurences for Ruislip branch for week one:
=SUMPRODUCT(('AAH Tracking Sheet'!$I$3:$I$65000>=DATE(2011,8,1))*('AAH Tracking Sheet'!$I$3:$I$65000<=DATE(2011,8,7)*('AAH Tracking Sheet'!$A$3:$A$65000="ruislip")))
However i really need a formula to then workout the average of these occurences and return this value as the result but when i try and add an extra argument on to calculate scorings and average for that week i get:
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64 x:str><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 12.75pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl64 height=17 width=64 x:err="#VALUE!">#VALUE!</TD></TR></TBODY></TABLE>
Hope this makes sense.
Please help!
Andy