View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Per Jessen Per Jessen is offline
external usenet poster
 
Posts: 1,533
Default Average only if all cells filled

Hi

This should do it:

=IF(COUNTBLANK(C4:C8)=0,IF(ISERROR(ROUND(AVERAGE(C 4:C8),1)),"",ROUND(AVERAGE(C4:C8),1)),"")

Regards,
Per

"chuck72352" skrev i meddelelsen
...

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