HI
My formula is to give me the average time/hours.. Originally I had :
=IF(AND(BY20>0,BY20-CA20>0),SUMPRODUCT(('Incidents
2010'!$C$20:$C$6998="good")*('Incidents
2010'!$W$20:$W$6998="TSP_CIM_USAWM")*('Incidents
2010'!$N$20:$N$6998=3)*('Incidents
2010'!$O$20:$O$6998>=DATE(2010,1,1))*('Incidents
2010'!$O$20:$O$6998<DATE(2010,2,1)),'Incidents
2010'!$I$20:$I$6998)/(BY20-CA20)
But because Incidents 2010'!$I$20:$I$6998 may only have a few entries which
total up to "negative hours" because come Incidents were closed over the
weekend, then when I do the average in this formular I get a negative number
of hours or #####
so I tried this: Essentially if the sum is greater than 0 give me the
average hours, otherwise give me 0, however I get "FALSE"
=if(IF(AND(BY20>0,BY20-CA20>0),SUMPRODUCT(('Incidents
2010'!$C$20:$C$6998="good")*('Incidents
2010'!$W$20:$W$6998="TSP_CIM_USAWM")*('Incidents
2010'!$N$20:$N$6998=3)*('Incidents
2010'!$O$20:$O$6998>=DATE(2010,1,1))*('Incidents
2010'!$O$20:$O$6998<DATE(2010,2,1)),'Incidents
2010'!$I$20:$I$6998)/(BY20-CA20))>0,IF(AND(BY20>0,BY20-CA20>0),SUMPRODUCT(('Incidents
2010'!$C$20:$C$6998="good")*('Incidents
2010'!$W$20:$W$6998="TSP_CIM_USAWM")*('Incidents
2010'!$N$20:$N$6998=3)*('Incidents
2010'!$O$20:$O$6998>=DATE(2010,1,1))*('Incidents
2010'!$O$20:$O$6998<DATE(2010,2,1)),'Incidents
2010'!$I$20:$I$6998)/(BY20-CA20),""))
So making the column bigger or changing the format does't work as I trying
to get hours i.e the time spent doing the Incident.
Any ideas?