View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Average only if all cells filled

=IF(COUNT(C4:C8)=5,ROUND(AVERAGE(C4:C8),1),"")

Since count only detects numbers, ensures that 5 numbers are present before
averaging.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"chuck72352" wrote:


Is there an easy way to modify the formula below to only give a result
ONLY if all five cells (C4 through C8) have values entered?

=IF(ISERROR(ROUND(AVERAGE(C4:C8),1)),"",ROUND(AVER AGE(C4:C8),1))

Thank you,
Chuck


--
chuck72352
------------------------------------------------------------------------
chuck72352's Profile: http://www.thecodecage.com/forumz/member.php?userid=482
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=113816