Creating Average IF
=IF(COUNTIF(I3:I6,18)=0,"",SUMIF(I3:I6,18)/COUNTIF(I3:I6,18))
simplify version:
=IF(COUNTIF(I3:I6,18),18,"")
"Luke M" wrote:
umm...wouldn't the answer be 18 (or zero, if nothing meets criteria)?
=IF(COUNTIF(I3:I6,18)=0,"",SUMIF(I3:I6,18)/COUNTIF(I3:I6,18))
--
Best Regards,
Luke M
*Remember to click "yes" if this post helped you!*
"AAA1986" wrote:
I need the following function:
I want the average of I3:I6 only for records where 03:06 = 18.
Please help! Thanks in advance.
|