Originally Posted by
Domenic
First, let's change the formula I gave you to the following...
=INT(AVERAGE(IF(D1:D10<>"",D1:D10-C1:C10)))&" days, "&INT(24*MOD(AVERAGE(IF(D1:D10<>"",D1:D10-C1:C10)),1))&" hours, and "&ROUND(60*MOD(24*(AVERAGE(IF(D1:D10<>"",D1:D10-C1:C10))),1),0)&" minutes"
...confirmed with CONTROL+SHIFT+ENTER. Again, I have not fully tested it, but from my limited testing, it seems to work.
If you're still having problems, make sure that the ranges you reference in your formula all have the same size. Another possibility is that one or more of the cells actually contain a text value. Try the following...
=SUMPRODUCT(--(ISNUMBER(C1:C10)))=ROWS(C1:C10)
AND
=SUMPRODUCT(--(ISNUMBER(D1:D10)))=ROWS(D1:D10)
...adjusting it for your actual range. What result do you get?
Bookmarks